Skip to content
This repository was archived by the owner on Nov 28, 2025. It is now read-only.

Commit c9886f9

Browse files
authored
fix(ci-cd): use token-bureau (#477)
1 parent c32d179 commit c9886f9

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

.github/workflows/release.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,25 @@ on:
55
push:
66
branches: [master, alpha, beta, next]
77

8+
permissions:
9+
id-token: write # Required for OIDC token generation
10+
811
jobs:
912
release:
1013
name: Release
1114
runs-on: ubuntu-latest
1215
steps:
1316

17+
- name: Get GitHub App Token
18+
id: token
19+
uses: SocialGouv/token-bureau@main
20+
with:
21+
token-bureau-url: https://token-bureau.fabrique.social.gouv.fr
22+
audience: socialgouv
23+
1424
- uses: socialgouv/workflows/actions/semantic-release@v1
1525
with:
1626
author-name: ${{ secrets.SOCIALGROOVYBOT_NAME }}
1727
author-email: ${{ secrets.SOCIALGROOVYBOT_EMAIL }}
18-
github-token: ${{ secrets.SOCIALGROOVYBOT_BOTO_PAT }}
28+
github-token: ${{ steps.token.outputs.token }}
1929

0 commit comments

Comments
 (0)