diff --git a/.github/workflows/canary.yml b/.github/workflows/canary.yml index 66698eb83..6684ebea0 100644 --- a/.github/workflows/canary.yml +++ b/.github/workflows/canary.yml @@ -36,7 +36,11 @@ jobs: repo, pull_number, }); - return branch; + if(fork){ + return "pull/" + pull_number; + } else { + return branch; + } - name: Not a collaborator if: ${{ failure() }} uses: actions/github-script@v6