File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 6
6
build :
7
7
if : github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
8
8
runs-on : ubuntu-latest
9
+ env :
10
+ PAT : ${{ secrets.PAT }}
9
11
steps :
10
12
- uses : actions/checkout@v4
13
+ with :
14
+ token : ${{ secrets.PAT || github.token }}
11
15
- uses : actions/setup-python@v4
12
16
with :
13
17
python-version : ' 3.11'
16
20
- id : changed-files
17
21
uses : tj-actions/changed-files@v40
18
22
-
uses :
pre-commit/[email protected]
23
+ continue-on-error : true
19
24
with :
20
25
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'
21
30
- shell : bash
22
31
run : curl -s -S --retry 3 $BASEDIR/tests/install.sh | bash -
23
32
- shell : bash
You can’t perform that action at this time.
0 commit comments