summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2022-04-04 14:56:29 -0400
committerGitHub <noreply@github.com>2022-04-04 14:56:29 -0400
commite33329b47ea1586bd1fbc686cae3048a080039ca (patch)
treeebadeca9f9eef5b617cacf29d01eb98c9c103aca /.github/workflows
parentfcd986875aebbca3a2fc85415d9b11748040a7fa (diff)
chore(ci): automatically open PR to forward patch release back to main (#14180)
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/cargo_publish.yml8
1 files changed, 6 insertions, 2 deletions
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