From 14a39eda6614bc1a2efcd794e4ed65dfd318cf11 Mon Sep 17 00:00:00 2001 From: Ben Jefferies Date: Tue, 30 Jan 2024 07:59:24 +0000 Subject: [PATCH] docs(README.md): replace ACCESS_TOKEN with PAT_ACCESS_TOKEN for clarity and consistency The change was made to clarify that the token being used is a Personal Access Token (PAT). This makes the documentation more explicit and consistent with common naming conventions. --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 577dbcf..8189c16 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ docker run -e ACCESS_TOKEN=abc123 -e BRANCH=master -e REPO=branch-protection-bot uses: benjefferies/branch-protection-bot@master if: always() with: - access_token: ${{ secrets.ACCESS_TOKEN }} + access_token: ${{ secrets.PAT_ACCESS_TOKEN }} branch: ${{ github.event.repository.default_branch }} - name: Deploy @@ -40,7 +40,7 @@ docker run -e ACCESS_TOKEN=abc123 -e BRANCH=master -e REPO=branch-protection-bot uses: benjefferies/branch-protection-bot@master if: always() # Force to always run this step to ensure "Do not allow bypassing the above settings" is always turned back on with: - access_token: ${{ secrets.ACCESS_TOKEN }} + access_token: ${{ secrets.PAT_ACCESS_TOKEN }} owner: benjefferies repo: branch-protection-bot branch: ${{ github.event.repository.default_branch }} @@ -87,7 +87,7 @@ steps: uses: benjefferies/branch-protection-bot@master if: always() with: - access_token: ${{ secrets.ACCESS_TOKEN }} + access_token: ${{ secrets.PAT_ACCESS_TOKEN }} branch: ${{ github.event.repository.default_branch }} enforce_admins: false @@ -97,7 +97,7 @@ steps: uses: benjefferies/branch-protection-bot@master if: always() # Force to always run this step to ensure "Do not allow bypassing the above settings" is always turned back on with: - access_token: ${{ secrets.ACCESS_TOKEN }} + access_token: ${{ secrets.PAT_ACCESS_TOKEN }} branch: ${{ github.event.repository.default_branch }} enforce_admins: ${{ steps.disable_include_admins.outputs.initial_status }} ```