INVENTORY::_0xFD41D1D4350F6413 fails when another player is nearby due to blocking flags #1063
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: Remove triage | |
| on: | |
| issues: | |
| types: [ closed, deleted ] | |
| pull_request: | |
| types: [ closed, deleted ] | |
| jobs: | |
| label_issues: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| issues: write | |
| steps: | |
| - uses: actions/github-script@v6 | |
| with: | |
| script: | | |
| try | |
| { | |
| await github.rest.issues.removeLabel({ | |
| issue_number: context.issue.number, | |
| owner: context.repo.owner, | |
| repo: context.repo.repo, | |
| name: ["triage"] | |
| }); | |
| } | |
| catch (exception) | |
| { | |
| // we don't care if the label wasn't present, as long as it's gone now | |
| if (exception.status !== 404) | |
| { | |
| console.log(exception); | |
| } | |
| } |