Skip to content

Commit 7f2c814

Browse files
committed
chore(deps): update release-drafter to v7
1 parent 5482f11 commit 7f2c814

2 files changed

Lines changed: 23 additions & 12 deletions

File tree

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Auto Label
2+
3+
on:
4+
pull_request_target:
5+
types: [opened, reopened, synchronize]
6+
7+
permissions:
8+
contents: read
9+
10+
jobs:
11+
auto_label:
12+
permissions:
13+
contents: read
14+
pull-requests: write
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: release-drafter/release-drafter/autolabeler@693d20e7c1ce1a81d3a41962f85914253b518449 # v7.3.1
18+
with:
19+
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release-drafter.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,6 @@ on:
44
push:
55
branches:
66
- main
7-
pull_request:
8-
types:
9-
- opened
10-
- reopened
11-
- synchronize
12-
- labeled
13-
- unlabeled
147
workflow_dispatch: {}
158

169
permissions:
@@ -20,10 +13,9 @@ jobs:
2013
update_release_draft:
2114
permissions:
2215
contents: write
23-
# write permission is required for autolabeler
24-
pull-requests: write
16+
pull-requests: read
2517
runs-on: ubuntu-latest
2618
steps:
27-
- uses: release-drafter/release-drafter@6a93d829887aa2e0748befe2e808c66c0ec6e4c7 # v6.4.0
28-
env:
29-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19+
- uses: release-drafter/release-drafter@693d20e7c1ce1a81d3a41962f85914253b518449 # v7.3.1
20+
with:
21+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)