We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92f3eec commit 0ad2dbaCopy full SHA for 0ad2dba
1 file changed
.github/workflows/ci.yml
@@ -42,14 +42,20 @@ jobs:
42
version-release:
43
runs-on: ubuntu-latest
44
needs: [test-makefile, test-fedora]
45
+ if: github.event_name == 'push' && github.ref == 'refs/heads/main'
46
steps:
47
- name: Checkout
48
uses: actions/checkout@v6
49
with:
50
fetch-depth: 0
51
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 }}
58
- name: Semantic Release
59
uses: cycjimmy/semantic-release-action@v6
- if: github.event_name == 'push' && github.ref == 'refs/heads/main'
60
env:
- GITHUB_TOKEN: ${{ secrets.RELEASE_APP_ID }}
61
+ GITHUB_TOKEN: ${{ steps.create_token.outputs.token }}
0 commit comments