chore: Use Pipeline token instead of personal access token

This commit is contained in:
Sigma 2024-11-04 10:13:39 +01:00 committed by GitHub
parent 486fe913d4
commit c48c557bc9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 }}"