Skip to content

Commit de5f8c7

Browse files
build: fixes permissions check for deploy workflow (#547)
1 parent 5547c11 commit de5f8c7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,9 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: ${{ github.actor }} permission check to do a release
11-
uses: octokit/request-action@v2.0.0
11+
uses: "lannonbr/repo-permission-check-action@2.0.2"
1212
with:
13-
route: GET /repos/:repository/collaborators/${{ github.actor }}
14-
repository: ${{ github.repository }}
13+
permission: "write"
1514
env:
1615
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1716

0 commit comments

Comments
 (0)