mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
CI: seperate check-labels and check-commits workflows
This commit is contained in:
parent
de0bd9770f
commit
1e29dd3267
@ -1,18 +1,8 @@
|
|||||||
name: check-pr
|
name: check-commits
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
types: [opened, reopened, labeled, unlabeled, synchronize]
|
types: [opened, reopened, synchronize]
|
||||||
pull_request_review:
|
|
||||||
types: [submitted, dismissed]
|
|
||||||
jobs:
|
jobs:
|
||||||
check-labels:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: RIOT-OS/check-labels-action@v1.0.0
|
|
||||||
with:
|
|
||||||
access_token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
unset_labels: 'CI: needs squashing,State: waiting for CI update,State: waiting for other PR,Process: blocked by feature freeze'
|
|
||||||
cond_labels: '(Process: needs >1 ACK,review.approvals>1),(Area: RDM,review.approvals>2)'
|
|
||||||
check-commits:
|
check-commits:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: ${{ github.base_ref }}
|
if: ${{ github.base_ref }}
|
15
.github/workflows/check-labels.yml
vendored
Normal file
15
.github/workflows/check-labels.yml
vendored
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
name: check-labels
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
types: [opened, reopened, labeled, unlabeled]
|
||||||
|
pull_request_review:
|
||||||
|
types: [submitted, dismissed]
|
||||||
|
jobs:
|
||||||
|
check-labels:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: RIOT-OS/check-labels-action@v1.0.0
|
||||||
|
with:
|
||||||
|
access_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
unset_labels: 'CI: needs squashing,State: waiting for CI update,State: waiting for other PR,Process: blocked by feature freeze'
|
||||||
|
cond_labels: '(Process: needs >1 ACK,review.approvals>1),(Area: RDM,review.approvals>2)'
|
Loading…
Reference in New Issue
Block a user