.github: drop branches filter with single asterisk from workflows (#17682)

Drop usage of the branches filter with a single asterisk as this matches
against zero or more characters but not a forward slash, resulting in
PRs to branch names with forwards slashes in them not having these
workflow run against them as expected.

Updates https://github.com/tailscale/corp/issues/33523

Signed-off-by: Mario Minardi <mario@tailscale.com>
pull/17685/head
Mario Minardi 1 month ago committed by GitHub
parent d2e4a20f26
commit 02681732d1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -4,8 +4,6 @@ on:
branches: branches:
- main - main
pull_request: pull_request:
branches:
- "*"
jobs: jobs:
deploy: deploy:
runs-on: ubuntu-latest runs-on: ubuntu-latest

@ -10,8 +10,6 @@ on:
- scripts/installer.sh - scripts/installer.sh
- .github/workflows/installer.yml - .github/workflows/installer.yml
pull_request: pull_request:
branches:
- "*"
paths: paths:
- scripts/installer.sh - scripts/installer.sh
- .github/workflows/installer.yml - .github/workflows/installer.yml

@ -2,8 +2,6 @@ name: request-dataplane-review
on: on:
pull_request: pull_request:
branches:
- "*"
paths: paths:
- ".github/workflows/request-dataplane-review.yml" - ".github/workflows/request-dataplane-review.yml"
- "**/*derp*" - "**/*derp*"

@ -3,8 +3,6 @@ on:
workflow_dispatch: workflow_dispatch:
# For now, only run on requests, not the main branches. # For now, only run on requests, not the main branches.
pull_request: pull_request:
branches:
- "*"
paths: paths:
- "client/web/**" - "client/web/**"
- ".github/workflows/webclient.yml" - ".github/workflows/webclient.yml"

Loading…
Cancel
Save