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

Request: Allow triggering without setting GHA_* parameters #76

Open
1 task done
glasser opened this issue Feb 21, 2024 · 0 comments
Open
1 task done

Request: Allow triggering without setting GHA_* parameters #76

glasser opened this issue Feb 21, 2024 · 0 comments

Comments

@glasser
Copy link

glasser commented Feb 21, 2024

Is there an existing issue that is already proposing this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe it

I'm using this action to implement "start a CircleCI build on a branch when a PR is opened" (similarly to this StackOverflow answer). I'd like this to work with my existing build without needing to add four parameters whose values I plan to completely ignore. Would it be possible to add a boolean flag that lets me say "don't send the parameters" so I don't have to edit my config.yml in every repo where I plan to use this? I'm happy to implement this myself if it would be expected.

Sorta related to #5.

Describe the solution you'd like

A new action input like include-gha-parameters with a default of true, where if you set it to false the parameters are not included.

Teachability, documentation, adoption, migration strategy

The input can be documented in the README.

What is the motivation / use case for changing the behavior?

I don't need these parameters and would like to be able to use this action without changing the CircleCI config in my repos.

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

No branches or pull requests

1 participant