summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2022-04-08 12:32:25 -0400
committerGitHub <noreply@github.com>2022-04-08 12:32:25 -0400
commita4eee007ef28f918db9165c52a19bc30bd65bad3 (patch)
tree959e41c8a5e680139d8640c1bf0fa6e2b63e69d5 /.github
parenta4c1e1bdcf3bd295d624c266278670e08227b26b (diff)
chore: update release instructions based on 1.20.5 release (#14239)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/cargo_publish.yml9
-rw-r--r--.github/workflows/version_bump.yml7
2 files changed, 10 insertions, 6 deletions
diff --git a/.github/workflows/cargo_publish.yml b/.github/workflows/cargo_publish.yml
index 4bb2ad686..6da233cb9 100644
--- a/.github/workflows/cargo_publish.yml
+++ b/.github/workflows/cargo_publish.yml
@@ -22,6 +22,7 @@ jobs:
- name: Clone repository
uses: actions/checkout@v2
with:
+ token: ${{ secrets.DENOBOT_PAT }}
submodules: recursive
- uses: dtolnay/rust-toolchain@stable
@@ -38,9 +39,11 @@ jobs:
- name: Create release tag and check forward commit to main
env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ # the default secrets.GITHUB_TOKEN won't trigger a workflow run
+ # when tagging, but it will if we provide a custom PAT
+ GITHUB_TOKEN: ${{ secrets.DENOBOT_PAT }}
GH_WORKFLOW_ACTOR: ${{ github.actor }}
run: |
- git config user.email "${{ github.actor }}@users.noreply.github.com"
- git config user.name "${{ github.actor }}"
+ git config user.email "propelml@gmail.com"
+ git config user.name "denobot"
./tools/release/04_post_publish.ts
diff --git a/.github/workflows/version_bump.yml b/.github/workflows/version_bump.yml
index caba2e014..bc8309b22 100644
--- a/.github/workflows/version_bump.yml
+++ b/.github/workflows/version_bump.yml
@@ -33,6 +33,7 @@ jobs:
- name: Clone repository
uses: actions/checkout@v2
with:
+ token: ${{ secrets.DENOBOT_PAT }}
submodules: recursive
- uses: dtolnay/rust-toolchain@stable
@@ -49,9 +50,9 @@ jobs:
- name: Create PR
env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ GITHUB_TOKEN: ${{ secrets.DENOBOT_PAT }}
GH_WORKFLOW_ACTOR: ${{ github.actor }}
run: |
- git config user.email "${{ github.actor }}@users.noreply.github.com"
- git config user.name "${{ github.actor }}"
+ git config user.email "propelml@gmail.com"
+ git config user.name "denobot"
./tools/release/02_create_pr.ts