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 @@ -13,16 +13,25 @@ jobs:
1313 with :
1414 ref : ${{ github.head_ref }}
1515 token : ${{ secrets.RENKU_CI_TOKEN }}
16+ - name : Check previous commit
17+ id : check-commit
18+ run : |
19+ echo "::set-output name=needs_update::$(git log --pretty=format:%s -n 1)"
20+ - name : Print previous commit
21+ run : echo "${{ steps.check-commit.outputs.needs_update }}"
1622 - name : Setup python
23+ if : " steps.check-commit.outputs.needs_update != 'chore: automatically update Pipfile.lock'"
1724 uses : actions/setup-python@v1
1825 with :
1926 python-version : 3.7
2027 - name : Update Pipfile.lock
28+ if : " steps.check-commit.outputs.needs_update != 'chore: automatically update Pipfile.lock'"
2129 run : |
2230 python -m pip install --upgrade pip
2331 pip install pipenv
2432 pipenv lock
2533 - name : Commit changed Pipfile.lock
34+ if : " steps.check-commit.outputs.needs_update != 'chore: automatically update Pipfile.lock'"
2635 run : |
2736 git config --local user.email "[email protected] " 2837 git config --local user.name "RenkuBot"
You can’t perform that action at this time.
0 commit comments