Exec-next: Use a single results array to simplify and speed up authorized fields #614
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Pronto | |
| on: | |
| - pull_request_target | |
| jobs: | |
| pronto: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - run: echo BUNDLE_GEMFILE=gemfiles/pronto.gemfile > $GITHUB_ENV | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - run: git fetch --no-tags --prune --unshallow origin +refs/heads/*:refs/remotes/origin/* | |
| - name: Setup Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: 3.4 | |
| bundler-cache: true | |
| - name: Run Pronto | |
| run: bundle exec pronto run -f github_pr -c origin/${{ github.base_ref }} | |
| env: | |
| PRONTO_PULL_REQUEST_ID: ${{ github.event.pull_request.number }} | |
| PRONTO_GITHUB_ACCESS_TOKEN: "${{ github.token }}" |