Skip to content

Commit 78d2e78

Browse files
committed
Give the workflow permission to override branch protection rule via PAT
1 parent 80b9499 commit 78d2e78

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/generate_changelog.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,20 @@ jobs:
1616
steps:
1717
- name: Checkout Repository
1818
uses: actions/checkout@v4
19-
19+
2020
- name: Install Dependencies
2121
run: pip install -r requirements.txt
22-
22+
2323
- name: Run Script
2424
env:
2525
RELEASE_TAG: ${{ inputs.release_tag }}
2626
GITHUB_PAT: ${{ secrets.SAGE_ACCESS_TOKEN }}
2727
run: python scripts/create_changelog.py "$RELEASE_TAG"
28-
28+
2929
- name: Commit and Push Changes
3030
env:
3131
RELEASE_TAG: ${{ inputs.release_tag }}
32-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32+
GITHUB_TOKEN: ${{ secrets.SAGE_ACCESS_TOKEN }}
3333
run: |
3434
git config --global user.name "github-actions[bot]"
3535
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"

0 commit comments

Comments
 (0)