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>
pull/594/head
Nick Khyl 12 months ago committed by GitHub
parent eb6d0c6c43
commit 34a06be19a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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