diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c31dac07..5cd4fe9a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,10 +14,9 @@ jobs: runs-on: ubuntu-18.04 steps: - name: ${{ github.actor }} permission check to do a release - uses: octokit/request-action@v2.0.0 + uses: "lannonbr/repo-permission-check-action@2.0.2" with: - route: GET /repos/:repository/collaborators/${{ github.actor }} - repository: ${{ github.repository }} + permission: "write" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}