diff --git a/.github/workflows/reconcile-issue-comment.yaml b/.github/workflows/reconcile-issue-comment.yaml index f92d227..fa8a49a 100644 --- a/.github/workflows/reconcile-issue-comment.yaml +++ b/.github/workflows/reconcile-issue-comment.yaml @@ -91,6 +91,7 @@ jobs: }); console.log(`Commenter ${commenterLogin} is a collaborator.`); } catch (error) { + console.log(error); console.log(`Commenter ${commenterLogin} is not a collaborator.`); await github.rest.issues.createComment({ issue_number: context.issue.number, diff --git a/.github/workflows/reconcile-issue.yaml b/.github/workflows/reconcile-issue.yaml index 049d90e..4859622 100644 --- a/.github/workflows/reconcile-issue.yaml +++ b/.github/workflows/reconcile-issue.yaml @@ -27,9 +27,8 @@ jobs: - name: Handle labels uses: actions/github-script@v7 - env: - GITHUB_TOKEN: ${{ steps.get_workflow_token.outputs.token }} with: + github-token: ${{ steps.get_workflow_token.outputs.token }} script: | // begin helper function for adding comments async function ensureComment(body, shouldExist) {