We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7317d6d commit 49bd846Copy full SHA for 49bd846
2 files changed
.github/labeler.yml
@@ -0,0 +1,5 @@
1
+monthly:
2
+ - base-branch: ["monthly"]
3
+
4
+stable:
5
+ - base-branch: ["stable"]
.github/workflows/add-pr-labels.yaml
@@ -0,0 +1,26 @@
+# Reference: https://github.com/actions/labeler
+name: PR labels
+on:
+ pull_request_target:
6
7
+jobs:
8
+ synchronize-labels:
9
+ permissions:
10
+ contents: read
11
+ pull-requests: write
12
+ issues: write
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - id: label-the-PR
16
+ uses: actions/labeler@634933edcd8ababfe52f92936142cc22ac488b1b # 6.0.1
17
+ with:
18
+ sync-labels: true
19
20
+ - id: print-labels
21
+ env:
22
+ NEW_LABELS: ${{ steps.label-the-PR.outputs.new-labels }}
23
+ ALL_LABELS: ${{ steps.label-the-PR.outputs.all-labels }}
24
+ run: |
25
+ echo "New labels: $NEW_LABELS"
26
+ echo "All labels: $ALL_LABELS"
0 commit comments