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

github/workflows/{android,go_mod_tidy}: run on all PRs and on pushes to {main,release-branch/*} #591

Merged
merged 1 commit into from
Dec 12, 2024

Conversation

nickkhyl
Copy link
Contributor

@nickkhyl nickkhyl commented Dec 12, 2024

Previously, using * in branch filters prevented PR CI actions from running on prefixed branches such as release-branch/* because * only matches characters except for forward slashes. In this PR, we remove the branch filter to ensure that Android builds and go mod tidy checks are executed on all PRs, regardless of the target branch. Additionally, these checks will now run on pushes to release-branch/*.

Fixes tailscale/corp#25313

…to {main,release-branch/*}

Previously, using * in branch filters prevented PR CI actions from running on prefixed branches
as release-branch/* because * only matches characters except for forward slashes. In this PR,
we remove the branch filter to ensure that Android builds and go mod tidy checks are executed
on all PRs, regardless of the target branch. Additionally, these checks will now run on pushes
to release-branch/*.

Fixes tailscale/corp#25313

Signed-off-by: Nick Khyl <[email protected]>
@nickkhyl nickkhyl force-pushed the nickkhyl/ci-on-all-prs branch from 4ed0a24 to aa94e59 Compare December 12, 2024 17:59
@nickkhyl nickkhyl requested review from barnstar and kari-ts December 12, 2024 18:00
Copy link
Member

@barnstar barnstar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch.... Thx!

@nickkhyl nickkhyl merged commit 34a06be into main Dec 12, 2024
4 checks passed
@nickkhyl nickkhyl deleted the nickkhyl/ci-on-all-prs branch December 12, 2024 18:06
Copy link
Collaborator

@kari-ts kari-ts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

nickkhyl added a commit that referenced this pull request Dec 12, 2024
…to {main,release-branch/*} (#591)

Previously, using * in branch filters prevented PR CI actions from running on prefixed branches such as release-branch/* because * only matches characters except for forward slashes. In this PR, we remove the branch filter to ensure that Android builds and go mod tidy checks are executed on all PRs, regardless of the target branch. Additionally, these checks will now run on pushes to release-branch/*.

Fixes tailscale/corp#25313

Signed-off-by: Nick Khyl <[email protected]>
nickkhyl added a commit that referenced this pull request Dec 12, 2024
…to {main,release-branch/*} (#591)

Previously, using * in branch filters prevented PR CI actions from running on prefixed branches such as release-branch/* because * only matches characters except for forward slashes. In this PR, we remove the branch filter to ensure that Android builds and go mod tidy checks are executed on all PRs, regardless of the target branch. Additionally, these checks will now run on pushes to release-branch/*.

Fixes tailscale/corp#25313

Signed-off-by: Nick Khyl <[email protected]>
(cherry picked from commit 34a06be)
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.

3 participants