File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -42,14 +42,20 @@ jobs:
4242 version-release :
4343 runs-on : ubuntu-latest
4444 needs : [test-makefile, test-fedora]
45+ if : github.event_name == 'push' && github.ref == 'refs/heads/main'
4546 steps :
4647 - name : Checkout
4748 uses : actions/checkout@v6
4849 with :
4950 fetch-depth : 0
5051 fetch-tags : true
52+ - name : Github app installation token
53+ id : create_token
54+ uses : tibdex/github-app-token@v2
55+ with :
56+ app_id : ${{ secrets.RELEASE_APP_ID }}
57+ private_key : ${{ secrets.RELEASE_APP_PRIVATE_KEY }}
5158 - name : Semantic Release
5259 uses : cycjimmy/semantic-release-action@v6
53- if : github.event_name == 'push' && github.ref == 'refs/heads/main'
5460 env :
55- GITHUB_TOKEN : ${{ secrets.RELEASE_APP_ID }}
61+ GITHUB_TOKEN : ${{ steps.create_token.outputs.token }}
You can’t perform that action at this time.
0 commit comments