Improve surfaced errors to the console when API requests fail or workload is improperly configured #218
This file contains 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: Apply 'untriaged' label during issue lifecycle | |
on: | |
issues: | |
types: [opened, reopened, transferred] | |
jobs: | |
apply-label: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/github-script@v6 | |
with: | |
script: | | |
github.rest.issues.addLabels({ | |
issue_number: context.issue.number, | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
labels: ['untriaged'] | |
}) |