Skip to content

Commit 1c44b31

Browse files
authored
🌱 use bot for labelling too (#63)
Signed-off-by: David Zager <dzager@redhat.com>
1 parent adbaa62 commit 1c44b31

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/reconcile-issue-comment.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ jobs:
9191
});
9292
console.log(`Commenter ${commenterLogin} is a collaborator.`);
9393
} catch (error) {
94+
console.log(error);
9495
console.log(`Commenter ${commenterLogin} is not a collaborator.`);
9596
await github.rest.issues.createComment({
9697
issue_number: context.issue.number,

.github/workflows/reconcile-issue.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,8 @@ jobs:
2727

2828
- name: Handle labels
2929
uses: actions/github-script@v7
30-
env:
31-
GITHUB_TOKEN: ${{ steps.get_workflow_token.outputs.token }}
3230
with:
31+
github-token: ${{ steps.get_workflow_token.outputs.token }}
3332
script: |
3433
// begin helper function for adding comments
3534
async function ensureComment(body, shouldExist) {

0 commit comments

Comments
 (0)