From ebecc4e236e1966961ab864dd948e1a2f12251c4 Mon Sep 17 00:00:00 2001 From: vorotech <2937451+vorotech@users.noreply.github.com> Date: Thu, 6 Jun 2024 20:40:30 +0300 Subject: [PATCH] removed trust-ci token usage --- .github/workflows/bump-version.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/bump-version.yml b/.github/workflows/bump-version.yml index 898d71c..04e520b 100644 --- a/.github/workflows/bump-version.yml +++ b/.github/workflows/bump-version.yml @@ -14,17 +14,13 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 - with: - # Use trust-ci fine-grained PAT to checkout and later commit the code - # trust-ci is allowed to bypass the branch protection - token: ${{ secrets.CI_GITHUB_TOKEN }} - name: Calculate version id: tag-version uses: mathieudutour/github-tag-action@v6.1 with: dry_run: true - github_token: ${{ secrets.CI_GITHUB_TOKEN }} + github_token: ${{ secrets.GITHUB_TOKEN }} # Configure Git - name: Git configuration @@ -48,4 +44,4 @@ jobs: uses: mathieudutour/github-tag-action@v6.1 with: custom_tag: ${{ steps.tag-version.outputs.new_version }} - github_token: ${{ secrets.CI_GITHUB_TOKEN }} + github_token: ${{ secrets.GITHUB_TOKEN }}