mirror of
https://github.com/sigmasternchen/drnk.me
synced 2025-03-15 09:48:54 +00:00
chore: Use Pipeline token instead of personal access token
This commit is contained in:
parent
f62e0281da
commit
3e2a859e4d
1 changed files with 4 additions and 2 deletions
6
.github/workflows/bumb-version.yml
vendored
6
.github/workflows/bumb-version.yml
vendored
|
@ -5,6 +5,9 @@ on:
|
||||||
branches:
|
branches:
|
||||||
- "main"
|
- "main"
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
bump-version:
|
bump-version:
|
||||||
if: "!startsWith(github.event.head_commit.message, 'bump:')"
|
if: "!startsWith(github.event.head_commit.message, 'bump:')"
|
||||||
|
@ -14,9 +17,8 @@ jobs:
|
||||||
- name: Check out
|
- name: Check out
|
||||||
uses: "actions/checkout@v3"
|
uses: "actions/checkout@v3"
|
||||||
with:
|
with:
|
||||||
token: "${{ secrets.PERSONAL_ACCESS_TOKEN }}"
|
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Create bump and changelog
|
- name: Create bump and changelog
|
||||||
uses: "commitizen-tools/commitizen-action@master"
|
uses: "commitizen-tools/commitizen-action@master"
|
||||||
with:
|
with:
|
||||||
github_token: "${{ secrets.PERSONAL_ACCESS_TOKEN }}"
|
github_token: "${{ github.token }}"
|
||||||
|
|
Loading…
Reference in a new issue