[Bug]: process.exit does return and is not exiting synchronously when called in async function #12240
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: Issue Commented | |
on: | |
issue_comment: | |
types: | |
- created | |
permissions: {} | |
jobs: | |
issue-commented: | |
name: Remove blocked/need-repro on comment | |
if: ${{ contains(github.event.issue.labels.*.name, 'blocked/need-repro') && !contains(fromJSON('["MEMBER", "OWNER"]'), github.event.comment.author_association) && github.event.comment.user.type != 'Bot' }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Generate GitHub App token | |
uses: electron/github-app-auth-action@384fd19694fe7b6dcc9a684746c6976ad78228ae # v1.1.1 | |
id: generate-token | |
with: | |
creds: ${{ secrets.ISSUE_TRIAGE_GH_APP_CREDS }} | |
- name: Remove label | |
env: | |
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }} | |
ISSUE_URL: ${{ github.event.issue.html_url }} | |
run: | | |
gh issue edit $ISSUE_URL --remove-label 'blocked/need-repro' |