Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ on:
# Permet aussi de déclencher manuellement depuis GitHub Actions UI
workflow_dispatch:

# The release pushes with the GH_TOKEN PAT (an admin, so it bypasses the
# "CI required" ruleset); the generated token stays read-only.
permissions:
contents: write
issues: write
pull-requests: write
contents: read

jobs:
release:
Expand All @@ -23,7 +23,7 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GH_TOKEN || secrets.GITHUB_TOKEN }}
persist-credentials: false

- name: Setup Node.js
uses: actions/setup-node@v4
Expand All @@ -44,5 +44,5 @@ jobs:

- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN || secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
run: npx semantic-release
Loading