Skip to content

Commit

Permalink
Update create-token-pr.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
alizedebray committed Nov 6, 2024
1 parent cbcd4c3 commit 862754f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/create-token-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ jobs:
- name: Get PR
id: pr
run: |
echo "$(gh pr list --head "${PR_BRANCH}")"
if [[ -n $(gh pr list --state open --head "${PR_BRANCH}") ]]; then
echo "$(gh pr list --head "${{ steps.pr-branch.outputs.name }}")"
if [[ -n $(gh pr list --head "${{ steps.pr-branch.outputs.name }}") ]]; then
echo "exists=true" >> $GITHUB_OUTPUT
else
echo "exists=false" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 862754f

Please sign in to comment.