From c48c557bc9fc3c2cc4c3ce322c42218009655c15 Mon Sep 17 00:00:00 2001 From: Sigma Date: Mon, 4 Nov 2024 10:13:39 +0100 Subject: [PATCH] chore: Use Pipeline token instead of personal access token --- .github/workflows/bump-version.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/bump-version.yml b/.github/workflows/bump-version.yml index 3ae9519..a62ab18 100644 --- a/.github/workflows/bump-version.yml +++ b/.github/workflows/bump-version.yml @@ -5,6 +5,9 @@ on: branches: - "main" +permissions: + contents: write + jobs: bump-version: if: "!startsWith(github.event.head_commit.message, 'bump:')" @@ -14,9 +17,8 @@ jobs: - name: Check out uses: "actions/checkout@v3" with: - token: "${{ secrets.PERSONAL_ACCESS_TOKEN }}" fetch-depth: 0 - name: Create bump and changelog uses: "commitizen-tools/commitizen-action@master" with: - github_token: "${{ secrets.PERSONAL_ACCESS_TOKEN }}" \ No newline at end of file + github_token: "${{ github.TOKEN }}"