mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-08-20 07:09:59 +00:00
Merge pull request #17 from Magnus167/pr_checks_wkflow
Refactor PR checks workflow to skip sync events
This commit is contained in:
commit
22319f68de
10
.github/workflows/pr-checks.yml
vendored
10
.github/workflows/pr-checks.yml
vendored
@ -3,7 +3,13 @@ name: pr-checks
|
|||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
types: [opened, synchronize, reopened, edited, ready_for_review]
|
types:
|
||||||
|
- opened
|
||||||
|
# - synchronize
|
||||||
|
# disable to save resources
|
||||||
|
- reopened
|
||||||
|
- edited
|
||||||
|
- ready_for_review
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: pr-checks-${{ github.event.number }}
|
group: pr-checks-${{ github.event.number }}
|
||||||
@ -26,4 +32,4 @@ jobs:
|
|||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
PR_NUMBER: ${{ github.event.number }}
|
PR_NUMBER: ${{ github.event.number }}
|
||||||
run: |
|
run: |
|
||||||
python .github/scripts/pr_checks.py $PR_NUMBER
|
python .github/scripts/pr_checks.py $PR_NUMBER
|
||||||
|
Loading…
x
Reference in New Issue
Block a user