We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 654f9e9 commit c1a257eCopy full SHA for c1a257e
.github/workflows/pr-labels.yml
@@ -0,0 +1,25 @@
1
+name: Pull Request Labels
2
+
3
+on:
4
+ pull_request:
5
+ types: [labeled, opened, synchronize, unlabeled]
6
7
+jobs:
8
+ label:
9
+ runs-on: ubuntu-latest
10
+ permissions:
11
+ issues: write
12
+ pull-requests: write
13
+ steps:
14
+ - id: changed-stable-configs
15
+ uses: tj-actions/changed-files@v44.5.2
16
+ with:
17
+ files: packages/{eslint-plugin,typescript-eslint}/src/configs/{recommended,stylistic}*
18
+ - if: steps.changed-stable-configs.outputs.any_changed == 'true'
19
+ uses: mheap/github-action-required-labels@v5.4.1
20
21
+ add_comment: true
22
+ count: 1
23
+ labels: breaking change
24
+ message: '🤖 Beep boop! PRs that change our stable preset configs must be labeled with `breaking change`.'
25
+ mode: minimum
0 commit comments