Skip to content

Commit ee626a1

Browse files
build: fix authorize job in release.yml (#529)
1 parent 2440e9a commit ee626a1

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,11 @@ jobs:
1212
authorize:
1313
name: Authorize
1414
runs-on: ubuntu-latest
15-
permissions:
16-
id-token: write
17-
contents: read
1815
steps:
1916
- name: ${{ github.actor }} permission check to do a release
20-
uses: octokit/request-action@v2.0.0
17+
uses: "lannonbr/repo-permission-check-action@2.0.2"
2118
with:
22-
route: GET /repos/:repository/collaborators/${{ github.actor }}
23-
repository: ${{ github.repository }}
19+
permission: "write"
2420
env:
2521
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2622

0 commit comments

Comments
 (0)