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

[FEATURE] Allow an input to control the use of the --skip-ci flag when performing a release #29

Open
nharward opened this issue Aug 23, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@nharward
Copy link

nharward commented Aug 23, 2024

Is your feature request related to a problem? Please describe.
I would like to have cog bump --auto also pass the --skip-ci flag when performing a release.

Describe the solution you'd like
Either solution below would work (for me):

  1. (specialized) Add an optional boolean input, defaulting to false, that when set to true passes the --skip-ci flag to cog when performing a release.
  2. (general) Add an optional string, defaulting to '', that can can pass arbitrary parameters to cog. Ideally there would be multiples of these, one for each type of action taken when running cog (one for check, one for release, etc.).

Describe alternatives you've considered
I used the action with check: false to install cocogitto, then instead of using the action to release I in-lined the code from cog.sh to add --skip-ci.

Additional context
N/A

@nharward nharward added the enhancement New feature or request label Aug 23, 2024
@eshepelyuk
Copy link

One could achieve this with cog.toml,
https://docs.cocogitto.io/config/#skip-ci

@M3lkior
Copy link

M3lkior commented Oct 31, 2024

@eshepelyuk this is simply a configuration of the tag. for the commit to be created with this placeholder, cog --skip-ci must be run; that is currently not possible with the Github Actons;

I have the same need by the way.
And also the need to invoke specific bump profiles with the -H option

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants