diff --git a/.github/workflows/backport-deps.yaml b/.github/workflows/backport-deps.yaml index bf8c8ba1..2c0b0a09 100644 --- a/.github/workflows/backport-deps.yaml +++ b/.github/workflows/backport-deps.yaml @@ -15,10 +15,9 @@ # name: "Run backport deps update PR" on: - pull_request: - # push: - # branches: - # - main + push: + branches: + - main env: DEPS_UPDATE_PR_TITLE_REGEX: "^(chore\\(deps\\): bump|\\[Snyk\\])" BACKPORT_BRANCH_NAME_PREFIX: "backport" @@ -47,7 +46,6 @@ jobs: - name: Get PR info id: get_pr run: | - echo "${DEPS_UPDATE_PR_TITLE_REGEX}" 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}