CORE-780: pin urllib3 to 2.7.0 for Dependabot high alerts #2931
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: Update Triage Label | |
| on: issue_comment | |
| permissions: {} | |
| jobs: | |
| triage_label: | |
| if: contains(github.event.issue.labels.*.name, 'Awaiting Response') | |
| runs-on: ubuntu-latest | |
| permissions: | |
| issues: write | |
| steps: | |
| - name: Update label | |
| uses: actions/github-script@v8 | |
| with: | |
| script: | | |
| const { owner, repo } = context.repo; | |
| const issue_number = context.issue.number; | |
| await github.rest.issues.addLabels({ | |
| owner, | |
| repo, | |
| issue_number, | |
| labels: ["Triage 👀"], | |
| }); | |
| await github.rest.issues.removeLabel({ | |
| owner, | |
| repo, | |
| issue_number, | |
| name: "Awaiting Response", | |
| }); |