We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6efd94b commit cada696Copy full SHA for cada696
.github/workflows/label-triggers.yml
@@ -0,0 +1,25 @@
1
+name: Label Triggers
2
+on:
3
+ pull_request:
4
+ types:
5
+ - labeled
6
+
7
+permissions:
8
+ issues: write
9
+ pull-requests: write
10
11
+jobs:
12
+ comment_on_breaking_change:
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - name: Check if 'breaking change' label is added
16
+ if: github.event.label.name == 'breaking-change'
17
+ uses: actions/github-script@v6
18
+ with:
19
+ script: |
20
+ github.rest.issues.createComment({
21
+ issue_number: context.issue.number,
22
+ owner: context.repo.owner,
23
+ repo: context.repo.repo,
24
+ body: '@opentensor/cerebrum / @opentensor/gyrus / @opentensor/cortex breaking change detected! Please prepare accordingly!'
25
+ })
0 commit comments