add an asynchronous function to the create method to obtain the subgenerator? #49
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 issues | |
on: | |
issues: { types: opened } | |
jobs: | |
apply-label: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/github-script@v6 | |
with: | |
github-token: ${{secrets.GITHUB_TOKEN}} | |
script: | | |
github.issues.addLabels({...context.issue, labels: ['needs triage']}) |