Category: Automation

GitHub Actions: push does not run CI through paths

Read this guide in Polish

The change in the code file does not trigger the expected workflow.

How to identify the source of the problem

Check on.push.paths, paths-ignore and the actual names of the changed files in the commit.

Check the workflow event type, permissions joba, run ID and first failed step.

Repair steps

Improve the globe patterns for the application folder and do not exclude critical tests needed for each change.

How to Test Solution

A change to the file pattern starts the pipeline and the ignored documentation preserves the selected mode.

Security and restrictions

Apply minimum token privileges and re-impotence. Do not remove main branch protection only for the convenience of the machine.