File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -61,14 +61,14 @@ jobs:
6161 git status
6262
6363 echo "::group::Diff between sync-main-pr and main"
64- git diff main..sync-main-pr
64+ git diff origin/ main..origin/ sync-main-pr
6565 echo "::endgroup::"
6666
67- echo "Current SHA for main: $(git rev-parse main)"
68- echo "Current SHA for sync-main-pr: $(git rev-parse sync-main-pr)"
67+ echo "Current SHA for main: $(git rev-parse origin/ main)"
68+ echo "Current SHA for sync-main-pr: $(git rev-parse origin/ sync-main-pr)"
6969 - name : Create or update PR
7070 run : |
71- gh pr create --fill -B main -H sync-main-pr --title 'Sync Main' --body "This PR syncs the latest changes from \`codeql-cli/latest\` into \`main\`."
71+ gh pr create --fill -B origin/ main -H origin/ sync-main-pr --title 'Sync Main' --body "This PR syncs the latest changes from \`codeql-cli/latest\` into \`main\`."
7272 exit 0
7373 env :
7474 GH_TOKEN : ${{ secrets.WORKFLOW_TOKEN }}
You can’t perform that action at this time.
0 commit comments