Skip to content

Commit

Permalink
Specify GH_TOKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
Francesco Macagno authored May 2, 2024
1 parent 37d3367 commit efb4740
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ runs:
- name: Check equality and convert to draft
shell: bash
if: inputs.convert-to-draft && steps.template.outputs.content == steps.clean.outputs.cleaned
env:
GH_TOKEN: ${{ github.token }}
run: gh pr ready ${{ github.event.pull_request.number }} --undo
- name: Check equality and fail
if: inputs.fail && steps.template.outputs.content == steps.clean.outputs.cleaned
Expand Down

0 comments on commit efb4740

Please sign in to comment.