🐛 Describe the bug
Followed from this PR #3020.
|
- name: Create Pull Request |
|
if: steps.commit.outputs.status == 'success' |
The 'outputs' condition can be used only if the step or job has 'outputs'.
So the current workflow doesn't work and linting hasn't been done in a while.
It should be changed to use 'outcome'.
References
https://docs.github.com/en/actions/using-jobs/defining-outputs-for-jobs
https://docs.github.com/en/actions/learn-github-actions/contexts#steps-context
I'll create two PRs;
Environment
No response
🐛 Describe the bug
Followed from this PR #3020.
ColossalAI/.github/workflows/post_commit.yml
Lines 84 to 85 in 280fcdc
The 'outputs' condition can be used only if the step or job has 'outputs'.
So the current workflow doesn't work and linting hasn't been done in a while.
It should be changed to use 'outcome'.
References
https://docs.github.com/en/actions/using-jobs/defining-outputs-for-jobs
https://docs.github.com/en/actions/learn-github-actions/contexts#steps-context
I'll create two PRs;
Environment
No response