Skip to content

Commit 1bd9a83

Browse files
committed
ci: Autofix dependabot changes
1 parent c738204 commit 1bd9a83

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/lint.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,12 @@ jobs:
66
build:
77
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
88
runs-on: ubuntu-latest
9+
env:
10+
PAT: ${{ secrets.PAT }}
911
steps:
1012
- uses: actions/checkout@v4
13+
with:
14+
token: ${{ secrets.PAT || github.token }}
1115
- uses: actions/setup-python@v4
1216
with:
1317
python-version: '3.11'
@@ -16,8 +20,13 @@ jobs:
1620
- id: changed-files
1721
uses: tj-actions/changed-files@v40
1822
- uses: pre-commit/[email protected]
23+
continue-on-error: true
1924
with:
2025
extra_args: pip-compile --files ${{ steps.changed-files.outputs.all_changed_files }}
26+
- if: ${{ env.PAT }}
27+
uses: stefanzweifel/git-auto-commit-action@v5
28+
with:
29+
commit_message: '[github-actions] pre-commit autoupdate'
2130
- shell: bash
2231
run: curl -s -S --retry 3 $BASEDIR/tests/install.sh | bash -
2332
- shell: bash

0 commit comments

Comments
 (0)