Skip to content

Commit

Permalink
ci: add pushing of test empty commit before release
Browse files Browse the repository at this point in the history
  • Loading branch information
MingweiSamuel committed Jul 22, 2024
1 parent 7cff03d commit 4458d58
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
# `APP_PRIVATE_KEY` ("Generate a private key").
- name: Generate token
id: generate_token
uses: tibdex/github-app-token@v1
uses: tibdex/github-app-token@v2
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}
Expand All @@ -60,6 +60,11 @@ jobs:
fetch-depth: 0
token: ${{ steps.generate_token.outputs.token }}

- name: Push test commit
run: |
git commit -m 'pre-release test commit' --allow-empty
git push
- name: Install nightly toolchain
uses: actions-rs/toolchain@v1
with:
Expand Down

0 comments on commit 4458d58

Please sign in to comment.