-
Notifications
You must be signed in to change notification settings - Fork 5
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
Add target branch option for actions. #422
Comments
Hi @dipinknair, thanks for suggesting this. Regarding the use case you present here, what about modifying the scheduled CI/CD action in the same branch where the feature is implemented? |
But then the schedule action will not run in feature branch right ? CI/CD schedule action runs only on main branch. May be I am not understanding what you meant. |
From the checkout action:
If you want to run a CI/CD on a branch because you have some changes there, just open a pull-request. If you want to avoid a PR, you can always modify the workflows in that branch to fit your needs, like using a cron job. Let me now if this works for your situation. |
After discussing privately, we can close this issue. |
Currently some of actions uses
checkout
for cloning repo. For example, code-style action useswhich takes the default
main
branch. Currently no option to specify for different branch wherecheckout
action can useref:
to take input branch name.We can possibly add one more input in actions which passes to checkout action.
This will be helpful if a scheduled ci/cd action is running and want to use feature/develop branch
The text was updated successfully, but these errors were encountered: