attempt use of always
@@ -43,14 +43,13 @@ jobs:
git checkout $GITHUB_HEAD_REF
git pull
git commit -m "Fix pre-commit failures" -a
- echo "##[set-output name=complete;]$(echo true)"
- exit 1
+ echo "##[set-output name=complete;]$(echo true)"
id: fix_issues
- name: Push changes
- if: failure() && ${{ steps.fix_issues.outputs.complete }} == "true"
+ if: ${{ always() }} && ${{ steps.fix_issues.outputs.complete }} == "true"
uses: ad-m/github-push-action@057a6ba835d986bfe495dd476a6c4db1d5f9503c
with:
github_token: ${{ secrets.PYMEDPHYS_BOT_TOKEN }}
