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 <nickk@tailscale.com>
nickkhyl/ci-test
Nick Khyl 12 months ago committed by Nick Khyl
parent a9c84cb0e5
commit c24562bc54

@ -4,9 +4,9 @@ on:
push:
branches:
- main
- "release-branch/*"
pull_request:
branches:
- "*"
# all PRs on all branches
jobs:
build:

@ -6,8 +6,7 @@ on:
- main
- "release-branch/*"
pull_request:
branches:
- "*"
# all PRs on all branches
concurrency:
group: ${{ github.workflow }}-$${{ github.head_ref || github.run_id }}

Loading…
Cancel
Save