Skip to content

[BUG]: Post-commit workflow does not work! #3237

@nijkah

Description

@nijkah

🐛 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;

  • Fix post-commit workflow
  • Run pre-commit for all lines that should be changed by lint

Environment

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions