Skip to content

Commit

Permalink
ci: Autofix dependabot changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Oct 31, 2023
1 parent c738204 commit 1bd9a83
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@ jobs:
build:
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
runs-on: ubuntu-latest
env:
PAT: ${{ secrets.PAT }}
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.PAT || github.token }}
- uses: actions/setup-python@v4
with:
python-version: '3.11'
Expand All @@ -16,8 +20,13 @@ jobs:
- id: changed-files
uses: tj-actions/changed-files@v40
- uses: pre-commit/[email protected]
continue-on-error: true
with:
extra_args: pip-compile --files ${{ steps.changed-files.outputs.all_changed_files }}
- if: ${{ env.PAT }}
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: '[github-actions] pre-commit autoupdate'
- shell: bash
run: curl -s -S --retry 3 $BASEDIR/tests/install.sh | bash -
- shell: bash
Expand Down

0 comments on commit 1bd9a83

Please sign in to comment.