loading...

re: Manual trigger with Github Actions VIEW POST

FULL DISCUSSION
 

Get a solution to allows to all repository collaborators:

jobs:

  authorize: 
    runs-on: ubuntu-latest

    steps:
    - uses: octokit/request-action@v2.0.0
      with:
        route: GET /repos/:repository/collaborators/${{ github.actor }}
        repository: ${{ github.repository }}
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

  build:
    needs: [authorize]

    runs-on: ubuntu-latest

   steps: 
     - ...
 

Nice ! I add it on the post :)

code of conduct - report abuse