Add use
command to setup configuration for the user
#23
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: Triage New Issues | |
on: | |
issues: | |
types: [opened] | |
jobs: | |
triage: | |
name: Triage New Issues | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Add "needs/triage" label | |
uses: actions/github-script@v6 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
script: | | |
github.rest.issues.addLabels({ | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
issue_number: context.issue.number, | |
labels: ['needs/triage'] | |
}) |