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

feat: add --default-branch-only cmdline option #161

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

dnwe
Copy link

@dnwe dnwe commented Jan 23, 2025

Add a cmdline option to only mirror the default branch of a given action between github.com and the target GitHub Enterprise instance, though still mirroring all tags. This is particularly useful when syncing verified publisher actions that may contain a large number of stale and/or ongoing development branches and we only ever really want to sync the tagged releases from the main branch for consumption. This additionally avoids the "triggered actions storm" that can happen when syncing many branches.

Contributes-to: #12

Add a cmdline option to only mirror the default branch of a given action
between github.com and the target GitHub Enterprise instance, though
still mirroring all tags. This is particularly useful when syncing
verified publisher actions that may contain a large number of stale
and/or ongoing development branches and we only ever really want to sync
the tagged releases from the main branch for consumption. This
additionally avoids the "triggered actions storm" that can happen when
syncing many branches.

Contributes-to: actions#12

Signed-off-by: Dominic Evans <dominic.evans@uk.ibm.com>
@dnwe dnwe requested review from a team as code owners January 23, 2025 16:05
Signed-off-by: Dominic Evans <dominic.evans@uk.ibm.com>
@dnwe
Copy link
Author

dnwe commented Jan 30, 2025

@shawnHartsell are you happy to assign a reviewer from amongst the codeowners?

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

Successfully merging this pull request may close these issues.

1 participant