Fix backport job webhook + push (#1185)

This commit is contained in:
Ross Wolf
2021-05-06 21:32:40 -06:00
committed by GitHub
parent 2ceb5b52c9
commit f3f344018b
+6 -9
View File
@@ -24,12 +24,6 @@ jobs:
target_branch: [7.13]
steps:
- uses: craftech-io/slack-action@v1
with:
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
status: failure
if: failure()
- name: Checkout repo
uses: actions/checkout@v2
@@ -56,11 +50,14 @@ jobs:
# <python code to remove irrelevant rules>
# git commit --author ... --message ...
echo "Push new commit to ${{matrix.target_branch}}"
git push
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{matrix.target_branch}}
- uses: craftech-io/slack-action@v1
with:
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
status: failure
if: failure()