docs(api): publish public API beta M2 reference — tests, latest executions, per-test history (APP-1554) #3441
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", | |
| }); |