mirror of
https://github.com/BreizhHardware/awesome-selfhosted-data.git
synced 2026-01-18 16:17:30 +01:00
tools/github actions: separate workflows for pull requests and build from each commit on master
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
workflow_dispatch:
|
||||
|
||||
concurrency:
|
||||
@@ -16,4 +14,3 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
- run: make awesome_lint
|
||||
- run: make export
|
||||
- run: make url_check
|
||||
2
.github/workflows/daily-update-metadata.yml
vendored
2
.github/workflows/daily-update-metadata.yml
vendored
@@ -16,8 +16,6 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- run: make update_metadata
|
||||
- run: make awesome_lint
|
||||
- run: make export
|
||||
- name: commit and push changes
|
||||
run: |
|
||||
git config user.name awesome-selfhosted-bot
|
||||
|
||||
15
.github/workflows/pull-request.yml
vendored
Normal file
15
.github/workflows/pull-request.yml
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
on:
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
ci:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- run: make awesome_lint
|
||||
- run: make export
|
||||
Reference in New Issue
Block a user