Skip to content

Commit

Permalink
Commit even on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed Jun 1, 2022
1 parent 7d824f4 commit b28a485
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/update-compat-data.yml
Expand Up @@ -44,21 +44,21 @@ jobs:
env:
OVERWRITE: true
- name: Update tests (Babel 8)
if: steps.updated.outputs.updated == 'true'
if: always() && steps.updated.outputs.updated == 'true'
run: yarn jest
env:
OVERWRITE: true
BABEL_8_BREAKING: true
- name: Commit changes
if: steps.updated.outputs.updated == 'true'
if: always() && steps.updated.outputs.updated == 'true'
run: |
git config user.name "Babel Bot"
git config user.email "babel-bot@users.noreply.github.com"
git checkout -b update-compat-data
git commit -am "chore: update compat data to ${{ steps.lastCommit.outputs.sha1 }}"
git push --force origin update-compat-data
- name: Create Pull Request
if: steps.updated.outputs.updated == 'true'
if: always() && steps.updated.outputs.updated == 'true'
uses: babel/actions/create-pull-request@v2
with:
token: ${{ secrets.BOT_TOKEN }}
Expand Down

0 comments on commit b28a485

Please sign in to comment.