diff --git a/.github/workflows/bumb-version.yml b/.github/workflows/bumb-version.yml index 3ae9519..3839c75 100644 --- a/.github/workflows/bumb-version.yml +++ b/.github/workflows/bumb-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 }}"