diff --git a/actions/commit_pr_and_merge/action.yaml b/actions/commit_pr_and_merge/action.yaml index 1cc74e2d..c365b72e 100644 --- a/actions/commit_pr_and_merge/action.yaml +++ b/actions/commit_pr_and_merge/action.yaml @@ -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