Skip to content

Commit 93768ee

Browse files
fix: token bureau config
1 parent 93bec55 commit 93768ee

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/release.yml

+12-1
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,26 @@
11
name: Release
2+
23
on:
34
workflow_dispatch:
45
push:
56
branches: [master, alpha, beta, next]
7+
8+
permissions:
9+
id-token: write # Required for OIDC token generation
10+
611
jobs:
712
release:
813
name: Release
914
runs-on: ubuntu-latest
1015
steps:
16+
- name: Get GitHub App Token
17+
id: token
18+
uses: SocialGouv/token-bureau@main
19+
with:
20+
token-bureau-url: https://token-bureau.fabrique.social.gouv.fr
21+
audience: socialgouv
1122
- uses: socialgouv/workflows/actions/semantic-release@v1
1223
with:
13-
github-token: ${{ secrets.SOCIALGROOVYBOT_BOTO_PAT }}
24+
github-token: ${{ steps.token.outputs.token }}
1425
author-name: ${{ secrets.SOCIALGROOVYBOT_NAME }}
1526
author-email: ${{ secrets.SOCIALGROOVYBOT_EMAIL }}

0 commit comments

Comments
 (0)