Skip to content

Commit 30f0f08

Browse files
authored
Add quote when checking true (#132)
1 parent 9365582 commit 30f0f08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

actions/commit_pr_and_merge/action.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ runs:
7777
env:
7878
GITHUB_TOKEN: ${{ github.token }}
7979
PR_URL: ${{ steps.create-pr.outputs.pull-request-url }}
80-
MERGE_PR_STRATEGY: ${{github.ref_protected == true && '--merge' || '--rebase' }}
81-
ADMIN_ACCESS: ${{ inputs.admin_access == true && '--admin' || '' }}
80+
MERGE_PR_STRATEGY: ${{ github.ref_protected == 'true' && '--merge' || '--rebase' }}
81+
ADMIN_ACCESS: ${{ inputs.admin_access == 'true' && '--admin' || '' }}
8282

8383
- name: Tag commit
8484
uses: actions/github-script@v7

0 commit comments

Comments
 (0)