From e33329b47ea1586bd1fbc686cae3048a080039ca Mon Sep 17 00:00:00 2001 From: David Sherret Date: Mon, 4 Apr 2022 14:56:29 -0400 Subject: chore(ci): automatically open PR to forward patch release back to main (#14180) --- .github/workflows/cargo_publish.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/cargo_publish.yml b/.github/workflows/cargo_publish.yml index 29eee22fa..4bb2ad686 100644 --- a/.github/workflows/cargo_publish.yml +++ b/.github/workflows/cargo_publish.yml @@ -36,7 +36,11 @@ jobs: CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} run: ./tools/release/03_publish_crates.ts --real - - name: Create release tag + - name: Create release tag and check forward commit to main env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: ./tools/release/04_create_release_tag.ts + GH_WORKFLOW_ACTOR: ${{ github.actor }} + run: | + git config user.email "${{ github.actor }}@users.noreply.github.com" + git config user.name "${{ github.actor }}" + ./tools/release/04_post_publish.ts -- cgit v1.2.3