We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f557e07 commit 25c3f52Copy full SHA for 25c3f52
.github/workflows/update-pr-labels.yml
@@ -0,0 +1,22 @@
1
+name: Update PR labels
2
+
3
+on:
4
+ pull_request:
5
+ types: [closed]
6
7
+jobs:
8
+ after-merge:
9
+ if: |
10
+ github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'status: FCP')
11
+ runs-on: ubuntu-latest
12
+ permissions:
13
+ pull-requests: write
14
15
+ steps:
16
+ - name: Update labels on accepted RFCs
17
+ env:
18
+ GH_TOKEN: ${{ github.token }}
19
+ GH_REPO: ${{ github.repository }}
20
+ PR_NUMBER: ${{ github.event.pull_request.number }}
21
+ run: |
22
+ gh pr edit $PR_NUMBER --remove-label "status: FCP" --add-label "status: accepted"
0 commit comments