Skip to content

Commit

Permalink
fix: setup gh_token
Browse files Browse the repository at this point in the history
  • Loading branch information
gcharest authored Sep 10, 2024
1 parent 6df9787 commit 3420bcf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ runs:

- name: Check workflow status
id: check-status
env:
GH_TOKEN: ${{ inputs.github_token }}
run: |
workflow_names=${{ inputs.workflows }}
statuses=""
Expand Down Expand Up @@ -60,7 +62,7 @@ runs:
if: ${{ steps.check-status.outputs.failed == 'true' }}
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
with:
github-token: ${{ inputs.GITHUB_TOKEN }}
# github-token: ${{ inputs.GITHUB_TOKEN }}
script: |
const statuses = `\${{ steps.check-status.outputs.statuses }}`;
github.rest.issues.createComment({
Expand Down

0 comments on commit 3420bcf

Please sign in to comment.