From 0358ce6293bf2063873ba1a32c7f7b7026ce129f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20M=C5=82odzikowski?= Date: Fri, 12 May 2023 17:13:33 +0200 Subject: [PATCH] feat(ci): try to merge to vega.xyz using standard PR --- .github/workflows/publish-dist.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-dist.yml b/.github/workflows/publish-dist.yml index 1e07e1124..73e65f051 100644 --- a/.github/workflows/publish-dist.yml +++ b/.github/workflows/publish-dist.yml @@ -214,5 +214,14 @@ jobs: git config --global user.email "vega-ci-bot@vega.xyz" git config --global user.name "vega-ci-bot" git add interstitial-allow.json netlify.toml - git commit -m "feat(ci): Update CID for console release @ ${{ github.ref }}" - git push origin main + commit_msg="feat(ci): Update CID for console release @ ${{ github.ref }}" + git commit -m "${commit_msg}" + # git push origin main + + branch_name=${{ github.ref_name }}-hash-update + git checkout -b "${branch_name}" + git add interstitial-allow.json netlify.toml + git push -u origin "${branch_name}" + pr_url="$(gh pr create --title "${commit_msg}" --body 'update ipfs hash for console @ ${{ github.ref }}')" + echo $pr_url + gh pr merge --admin --auto $pr_url