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