Browse Source

[CI] Fix pre-commit workflow (#3238)

pull/3253/head
Hakjin Lee 2 years ago committed by GitHub
parent
commit
1653063fce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      .github/workflows/post_commit.yml

4
.github/workflows/post_commit.yml

@ -82,7 +82,7 @@ jobs:
# create pull request # create pull request
- name: Create Pull Request - name: Create Pull Request
if: steps.commit.outputs.status == 'success' if: steps.commit.outcome == 'success'
id: cpr id: cpr
uses: peter-evans/create-pull-request@v4 uses: peter-evans/create-pull-request@v4
with: with:
@ -90,7 +90,7 @@ jobs:
title: "[format] applied code formatting on changed files in PR ${{ github.event.pull_request.number }}" title: "[format] applied code formatting on changed files in PR ${{ github.event.pull_request.number }}"
- name: Enable Auto-merge for the New PR - name: Enable Auto-merge for the New PR
if: steps.commit.outputs.status == 'success' if: steps.commit.outcome == 'success'
uses: peter-evans/enable-pull-request-automerge@v2 uses: peter-evans/enable-pull-request-automerge@v2
with: with:
pull-request-number: ${{ steps.cpr.outputs.pull-request-number }} pull-request-number: ${{ steps.cpr.outputs.pull-request-number }}

Loading…
Cancel
Save