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 0f30f08 commit 583c48b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@ jobs:
# `APP_PRIVATE_KEY` ("Generate a private key").
- name: Generate token
id: generate_token
<<<<<<< HEAD
uses: actions/create-github-app-token@v1
=======
uses: tibdex/github-app-token@v2
>>>>>>> 4458d58ebf7 (ci: add pushing of test empty commit before release)
with:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}
Expand All @@ -60,6 +64,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 583c48b

Please sign in to comment.