Skip to content

Commit c2c26c8

Browse files
Fix build-sqlfile workflow: use PAT to bypass branch protection
The default GITHUB_TOKEN cannot push directly to main when branch protection rules require PRs and status checks. Switch to a PAT stored as a repo secret, and bump actions/checkout to v4. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 5ea1fc9 commit c2c26c8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/build-sqlfile.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ jobs:
99
build-sql-file:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v3
12+
- uses: actions/checkout@v4
1313
with:
1414
fetch-depth: 0
15+
token: ${{ secrets.PAT_TOKEN }}
1516
- name: Checkout Code
1617
run: |
1718
git config --global user.name 'Darling Data'

0 commit comments

Comments
 (0)