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 91704b5 commit df72523Copy full SHA for df72523
.github/workflows/adr-labeler.yml
@@ -0,0 +1,25 @@
1
+name: ADR Labeler
2
+
3
+on:
4
+ pull_request:
5
+ types: [opened, synchronize]
6
+ paths:
7
+ - 'docs/adr/**'
8
9
+jobs:
10
+ label-adr:
11
+ runs-on: ubuntu-latest
12
+ permissions:
13
+ pull-requests: write
14
15
+ steps:
16
+ - uses: actions/github-script@v7
17
+ with:
18
+ script: |
19
+ # Adding ADR label - if it already exists, this is a no-op
20
+ github.rest.issues.addLabels({
21
+ owner: context.repo.owner,
22
+ repo: context.repo.repo,
23
+ issue_number: context.issue.number,
24
+ labels: ['ADR']
25
+ })
0 commit comments