diff --git a/.github/workflows/check-issue-has-release.yml b/.github/workflows/check-issue-has-release.yml index c8a25f79244..f0c099086c1 100644 --- a/.github/workflows/check-issue-has-release.yml +++ b/.github/workflows/check-issue-has-release.yml @@ -32,8 +32,7 @@ jobs: ) ) || github.event.pull_request.head.repo.fork - ) && - github.event.review.state == 'approved' + ) steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 diff --git a/.github/workflows/test-credentials.yml b/.github/workflows/test-credentials.yml index ec272805ba5..b6d804cc3f2 100644 --- a/.github/workflows/test-credentials.yml +++ b/.github/workflows/test-credentials.yml @@ -43,5 +43,5 @@ jobs: -d '{"query": "{ viewer { githubUser { login } } }"}' \ --fail --silent --show-error env: - ZENHUB_GQL_API_TOKEN: ${{ secrets.TEST_ZENHUB_GQL_API_TOKEN }} + ZENHUB_GQL_API_TOKEN: ${{ secrets.ZENHUB_GQL_API_TOKEN }} # TEMP TEST LIVE diff --git a/bin/check-issue-has-release.js b/bin/check-issue-has-release.js index 04e24f56edf..5007ad59b2b 100755 --- a/bin/check-issue-has-release.js +++ b/bin/check-issue-has-release.js @@ -40,7 +40,7 @@ async function checkIssueHasRelease({ repositoryGhId, prNumber }) { const { data, errors } = response; if (errors) { - console.error(`Error: ${errors[0].message}. ⚠️`); + console.error(`Error: ${errors[0].message}. ⚠️`, ...errors); process.exit(1); }