ansys / ansys/grantami-serverapi-openapi

Handle the case where committing in CI doesn't make sense

Open
#87 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2
Forks
0
Avg merge
9h 34m
Merged PRs (30d)
19

Description

The 'Generate Client Library' CI workflow expects to always commit the generated code, but there are situations where that doesn't make sense:

* Dependabot PRs - These generally shouldn't be making any changes to the code
* Running CI on main - We don't want to push directly to main

For the dependabot PRs, not bumping the version number in this case might be a good option, since then the happy case will be no changes to the code, and the commit won't happen.

For running CI on main, this might just be a check to not commit on main, or potentially if run on main to always create a separate branch and PR.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.