diff --git a/.github/workflows/backport-deps.yaml b/.github/workflows/backport-deps.yaml index d2483ef0..e626660e 100644 --- a/.github/workflows/backport-deps.yaml +++ b/.github/workflows/backport-deps.yaml @@ -45,12 +45,12 @@ jobs: git_commit_gpgsign: true - name: Fetch PR info run: | - git checkout main gh pr list --limit 10 --json number,title,body,labels,headRefName,headRefOid,mergeCommit --state merged | \ jq --arg oid "${GITHUB_SHA}" '.[] | select(.mergeCommit.oid == $oid)' > ${FETCHED_GITHUB_INFO_PATH} cat ${FETCHED_GITHUB_INFO_PATH} echo "------" + gh pr list --limit 10 --json number,title,body,labels,headRefName,headRefOid,mergeCommit --state merged git branch -a echo "------" echo ${GITHUB_SHA}