Repository navigation
Named child runs that survive migration and resurrection #40
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: CI (issue) | |
| on: | |
| # Runs when a new issue is opened. | |
| issues: | |
| types: | |
| - opened | |
| permissions: | |
| contents: read | |
| jobs: | |
| label_issues: | |
| name: Add labels | |
| runs-on: ubuntu-latest | |
| permissions: | |
| issues: write | |
| steps: | |
| # Add the "t-tooling" label to all new issues | |
| - uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 | |
| with: | |
| script: | | |
| github.rest.issues.addLabels({ | |
| issue_number: context.issue.number, | |
| owner: context.repo.owner, | |
| repo: context.repo.repo, | |
| labels: ["t-tooling"] | |
| }) |