chore(deps): bump github/codeql-action/init from 4.36.3 to 4.37.1 #79
Workflow file for this run
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: Issue and PR Labeling | |
| on: | |
| issues: | |
| types: | |
| - opened | |
| - reopened | |
| pull_request: | |
| types: | |
| - opened | |
| - reopened | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| jobs: | |
| triage_label: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| env: | |
| # For issues events, github.event.issue.pull_request is absent (null/empty → falsy). | |
| # For pull_request events, github.event.pull_request exists → truthy. | |
| COMMAND: ${{ github.event.pull_request && 'pr' || 'issue' }} | |
| GH_TOKEN: ${{ github.token }} | |
| steps: | |
| - name: "Add triage label on open or reopen" | |
| run: gh ${{ env.COMMAND }} edit ${{ github.event.issue.html_url || github.event.pull_request.html_url }} --add-label waiting-response | |
| continue-on-error: true |