File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 1010 pylint :
1111 name : Pylint
1212 runs-on : ubuntu-latest
13+ permissions :
14+ contents : read
1315 steps :
1416 - uses : actions/checkout@v4
1517
2224 run : |
2325 python -m pip install --upgrade pip
2426 pip install pylint
25- if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
27+ pip install -r requirements.txt
2628
2729 - name : Run Pylint
2830 run : |
3335 runs-on : ubuntu-latest
3436 permissions :
3537 contents : write
38+ # Skip if the last commit was from github-actions[bot] to avoid infinite loops
39+ if : github.actor != 'github-actions[bot]'
3640 steps :
3741 - uses : actions/checkout@v4
3842 with :
6367 run : |
6468 git config user.name "github-actions[bot]"
6569 git config user.email "github-actions[bot]@users.noreply.github.com"
66- git add -A
70+ git add .
6771 git commit -m "Apply black formatting"
6872 git push
You can’t perform that action at this time.
0 commit comments