Skip to content

Commit f23531c

Browse files
authored
Disable auto-labeler (#3635)
Since the auto-labeler adds labels using GitHub Actions token, it cannot trigger the PR Labels workflow to re-run, meaning we get stuck with a failing workflow. This change means we have to manually label each PR Signed-off-by: Nicholas Gates <[email protected]>
1 parent 95028b1 commit f23531c

File tree

2 files changed

+1
-25
lines changed

2 files changed

+1
-25
lines changed

.github/release-drafter.yml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -33,23 +33,6 @@ version-resolver:
3333
- 'wire-break'
3434
default: patch
3535

36-
autolabeler:
37-
- label: 'break'
38-
title:
39-
- '/break/i'
40-
- label: 'chore'
41-
title:
42-
- '/chore/i'
43-
- label: 'fix'
44-
title:
45-
- '/fix/i'
46-
- label: 'feature'
47-
title:
48-
- '/feat/i'
49-
- label: 'performance'
50-
title:
51-
- '/perf/i'
52-
5336
template: |
5437
## Changes
5538

.github/workflows/release-drafter.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@ on:
33
push:
44
branches:
55
- develop
6-
# pull_request event is required only for autolabeler
7-
pull_request:
8-
# Only following types are handled by the action, but one can default to all as well
9-
types: [ opened, reopened, synchronize ]
106

117
permissions:
128
contents: read
@@ -16,12 +12,9 @@ jobs:
1612
permissions:
1713
# write permission is required to create a github release
1814
contents: write
19-
# write permission is required for autolabeler
20-
pull-requests: write
21-
issues: write
2215
runs-on: ubuntu-latest
2316
steps:
24-
# Drafts your next Release notes as Pull Requests are merged into "master"
17+
# Drafts your next Release notes as Pull Requests are merged into "develop"
2518
- uses: release-drafter/[email protected]
2619
env:
2720
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)