test:python fails on fork PRs: it loads test/api suites that throw without TEST_USER_TOKEN #204
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: Update new issue | |
| on: | |
| issues: | |
| types: | |
| - opened | |
| jobs: | |
| label_issues: | |
| name: Label issues | |
| runs-on: ubuntu-latest | |
| permissions: | |
| issues: write | |
| steps: | |
| # Add the "t-builders" label to all new issues | |
| - uses: actions/github-script@v9 | |
| with: | |
| script: | | |
| github.rest.issues.addLabels({ | |
| issue_number: context.issue.number, | |
| owner: context.repo.owner, | |
| repo: context.repo.repo, | |
| labels: ["t-builders"] | |
| }) |