Skip to content

Commit failures should fail workflow #370

Closed
@Josh-Cena

Description

@Josh-Cena

Describe the bug

If git commit fails, the workflow still completes despite nothing being pushed.

Workflow used

https://github.com/Josh-Cena/Josh-Cena.github.io/blob/master/.github/workflows/mark-non-coding-day.yml

Expected behavior

The workflow should exit with a non-zero status so GitHub would put a red cross.

Logs

https://github.com/Josh-Cena/Josh-Cena.github.io/runs/5408061374?check_suite_focus=true

Metadata

Metadata

Assignees

Labels

good first issueGood for newcomersstatus: pinnedShould not be labeled as staletype: fixUpdates to existing functionalities

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions