Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ce3539c2ec |
12
.github/workflows/semantic-release.yml
vendored
12
.github/workflows/semantic-release.yml
vendored
@@ -2,11 +2,10 @@ name: Semantic Release
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_call:
|
workflow_call:
|
||||||
|
secrets:
|
||||||
permissions:
|
GH_TOKEN:
|
||||||
contents: write
|
description: 'PAT with repo access, required to trigger workflows on tag push'
|
||||||
issues: write
|
required: true
|
||||||
pull-requests: write
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
@@ -18,6 +17,7 @@ jobs:
|
|||||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd #v6.0.2
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd #v6.0.2
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
token: ${{ secrets.GH_TOKEN }}
|
||||||
|
|
||||||
- name: Setup semantic-release
|
- name: Setup semantic-release
|
||||||
uses: https://gitea.ldpt.fr/actions/semantic-release/setup-semrel@main
|
uses: https://gitea.ldpt.fr/actions/semantic-release/setup-semrel@main
|
||||||
@@ -25,4 +25,6 @@ jobs:
|
|||||||
node-version: "24"
|
node-version: "24"
|
||||||
|
|
||||||
- name: Run semantic-release
|
- name: Run semantic-release
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||||
run: semantic-release
|
run: semantic-release
|
||||||
Reference in New Issue
Block a user