mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
.github/workflows/*: Allow merge_groups and prs to be required
This commit is contained in:
parent
1e7f488448
commit
d41e368bf7
9
.github/workflows/check-commits.yml
vendored
9
.github/workflows/check-commits.yml
vendored
@ -2,6 +2,8 @@ name: check-commits
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, reopened, synchronize]
|
||||
merge_group:
|
||||
|
||||
jobs:
|
||||
check-commits:
|
||||
runs-on: ubuntu-latest
|
||||
@ -24,3 +26,10 @@ jobs:
|
||||
- name: Run checks
|
||||
run: |
|
||||
./dist/tools/${{ matrix.check }}/check.sh "${{ github.base_ref }}"
|
||||
check-commits-success:
|
||||
needs: check-commits
|
||||
if: github.event_name != 'merge_group'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: check-commits succeeded
|
||||
run: exit 0
|
||||
|
3
.github/workflows/check-labels.yml
vendored
3
.github/workflows/check-labels.yml
vendored
@ -4,8 +4,11 @@ on:
|
||||
types: [opened, reopened, labeled, unlabeled, synchronize]
|
||||
pull_request_review:
|
||||
types: [submitted, dismissed]
|
||||
merge_group:
|
||||
|
||||
jobs:
|
||||
check-labels:
|
||||
if: github.event_name != 'merge_group'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: RIOT-OS/check-labels-action@v1.1.1
|
||||
|
2
.github/workflows/labeler.yml
vendored
2
.github/workflows/labeler.yml
vendored
@ -3,10 +3,12 @@ name: pr-labeler
|
||||
on:
|
||||
pull_request_target:
|
||||
types: [opened, synchronize, reopened]
|
||||
merge_group:
|
||||
|
||||
jobs:
|
||||
triage:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event_name != 'merge_group'
|
||||
steps:
|
||||
- uses: actions/labeler@main
|
||||
with:
|
||||
|
1
.github/workflows/static-test.yml
vendored
1
.github/workflows/static-test.yml
vendored
@ -13,6 +13,7 @@ on:
|
||||
pull_request:
|
||||
branches:
|
||||
- '*'
|
||||
merge_group:
|
||||
|
||||
jobs:
|
||||
static-tests:
|
||||
|
1
.github/workflows/tools-buildtest.yml
vendored
1
.github/workflows/tools-buildtest.yml
vendored
@ -11,6 +11,7 @@ on:
|
||||
pull_request:
|
||||
branches:
|
||||
- '*'
|
||||
merge_group:
|
||||
|
||||
jobs:
|
||||
tools-build:
|
||||
|
2
.github/workflows/tools-test.yml
vendored
2
.github/workflows/tools-test.yml
vendored
@ -9,9 +9,11 @@ on:
|
||||
pull_request:
|
||||
branches:
|
||||
- '*'
|
||||
merge_group:
|
||||
|
||||
jobs:
|
||||
python-tests:
|
||||
if: github.event_name != 'merge_group'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@main
|
||||
|
Loading…
Reference in New Issue
Block a user