Skip to content

Commit

Permalink
Add quote when checking true
Browse files Browse the repository at this point in the history
  • Loading branch information
cYKatherine committed Nov 7, 2024
1 parent 9365582 commit 2851fad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions actions/commit_pr_and_merge/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ runs:
env:
GITHUB_TOKEN: ${{ github.token }}
PR_URL: ${{ steps.create-pr.outputs.pull-request-url }}
MERGE_PR_STRATEGY: ${{github.ref_protected == true && '--merge' || '--rebase' }}
ADMIN_ACCESS: ${{ inputs.admin_access == true && '--admin' || '' }}
MERGE_PR_STRATEGY: ${{ github.ref_protected == 'true' && '--merge' || '--rebase' }}
ADMIN_ACCESS: ${{ inputs.admin_access == 'true' && '--admin' || '' }}

- name: Tag commit
uses: actions/github-script@v7
Expand Down

0 comments on commit 2851fad

Please sign in to comment.