Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Github actions related to code (build, coverage) should not be executed on documentation changes #122

Closed
sarroutbi opened this issue Jun 9, 2023 · 0 comments · Fixed by #129
Assignees
Labels
ci Continuous Integration related stuff documentation Documentation related stuff enhancement

Comments

@sarroutbi
Copy link
Collaborator

It does not make sense to execute whole build process when only documentation is changed.

I suggest build and coverage Github actions execution for changes that are not exclusive related to documentation, more in particular for Markdown documentation, as .adoc files should be compiled to check correctness.
For this matter, paths-ignore in Github actions should be used:

When all the path names match patterns in paths-ignore, the workflow will not run.
If any path names do not match patterns in paths-ignore, even if some path names match the patterns,
the workflow will run.
@sarroutbi sarroutbi self-assigned this Jun 9, 2023
@sarroutbi sarroutbi added ci Continuous Integration related stuff documentation Documentation related stuff labels Jun 9, 2023
sarroutbi added a commit to sarroutbi/tang that referenced this issue Jul 5, 2023
Resolves: latchset#122

Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
sarroutbi added a commit that referenced this issue Jan 11, 2024
Resolves: #122

Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Continuous Integration related stuff documentation Documentation related stuff enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant