mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-10-02 07:39:24 +00:00
[CI] Fix pre-commit workflow (#3238)
This commit is contained in:
4
.github/workflows/post_commit.yml
vendored
4
.github/workflows/post_commit.yml
vendored
@@ -82,7 +82,7 @@ jobs:
|
||||
|
||||
# create pull request
|
||||
- name: Create Pull Request
|
||||
if: steps.commit.outputs.status == 'success'
|
||||
if: steps.commit.outcome == 'success'
|
||||
id: cpr
|
||||
uses: peter-evans/create-pull-request@v4
|
||||
with:
|
||||
@@ -90,7 +90,7 @@ jobs:
|
||||
title: "[format] applied code formatting on changed files in PR ${{ github.event.pull_request.number }}"
|
||||
|
||||
- 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
|
||||
with:
|
||||
pull-request-number: ${{ steps.cpr.outputs.pull-request-number }}
|
||||
|
Reference in New Issue
Block a user