URL fields get an extra trailing slash in v3, changing the value the API sent #36
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@v9 | |
| with: | |
| script: | | |
| github.rest.issues.addLabels({ | |
| issue_number: context.issue.number, | |
| owner: context.repo.owner, | |
| repo: context.repo.repo, | |
| labels: ["t-tooling"] | |
| }) |