diff --git a/.github/workflows/test-command.yml b/.github/workflows/test-command.yml index 0cb7a39..921b673 100644 --- a/.github/workflows/test-command.yml +++ b/.github/workflows/test-command.yml @@ -30,7 +30,7 @@ jobs: - name: move relock code to current branch run: | - if [[ "${COMMENT_IS_PR}" == "false" ]]; then + if [[ "${COMMENT_IS_PR}" == "true" ]]; then branch=pull/${{ github.event.number }}/head else branch=main @@ -72,7 +72,7 @@ jobs: - name: cleanup if: always() run: | - if [[ "${COMMENT_IS_PR}" == "false" ]]; then + if [[ "${COMMENT_IS_PR}" == "true" ]]; then branch=pull/${{ github.event.number }}/head else branch=main