RHAIENG-2189: build(runtime/datascience): set extra python index for aipcc migration phase 1.5 #292
Workflow file for this run
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: Add Review Requested Label | |
| on: # yamllint disable-line rule:truthy | |
| # the regular `secrets.GITHUB_TOKEN` with `on: pull_request` results in a 403 error | |
| # HttpError: Resource not accessible by integration | |
| pull_request_target: | |
| types: [opened] | |
| permissions: | |
| contents: read | |
| issues: write | |
| pull-requests: write | |
| jobs: | |
| add-label: | |
| if: contains(github.event.pull_request.labels.*.name, 'konflux-nudge') == false | |
| runs-on: ubuntu-latest | |
| steps: | |
| # SECURITY: never clone untrusted code in pull_request_target workflows | |
| - name: Add review-requested label | |
| uses: actions/github-script@v7 | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| # language=javascript | |
| script: | | |
| await github.rest.issues.addLabels({ | |
| owner: context.repo.owner, | |
| repo: context.repo.repo, | |
| issue_number: context.payload.pull_request.number, | |
| labels: ['review-requested'] | |
| }); |