Skip to content

Commit c24562b

Browse files
committed
github/workflows/{android,go_mod_tidy}: run on all PRs and on pushes 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]>
1 parent a9c84cb commit c24562b

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/android.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ on:
44
push:
55
branches:
66
- main
7+
- "release-branch/*"
78
pull_request:
8-
branches:
9-
- "*"
9+
# all PRs on all branches
1010

1111
jobs:
1212
build:

.github/workflows/go_mod_tidy.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ on:
66
- main
77
- "release-branch/*"
88
pull_request:
9-
branches:
10-
- "*"
9+
# all PRs on all branches
1110

1211
concurrency:
1312
group: ${{ github.workflow }}-$${{ github.head_ref || github.run_id }}

0 commit comments

Comments
 (0)