From 579a50296a27e8187e5927e7a3c8e150bce17e78 Mon Sep 17 00:00:00 2001 From: Luca Comellini Date: Thu, 27 Jun 2024 15:31:27 -0700 Subject: [PATCH] Run CI and Lint workflows on PRs to any branch Problem: The single * wasn't matching all possible branch names Solution: Use globstar to match all kind of names --- .github/workflows/ci.yml | 2 +- .github/workflows/lint.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 110a83578d..eea3be90d9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ on: - "v[0-9]+.[0-9]+.[0-9]+*" pull_request: branches: - - "*" + - "**" schedule: - cron: "0 4 * * *" # run every day at 4am UTC diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 4ae85e0784..b4968640e8 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -6,7 +6,7 @@ on: - main pull_request: branches: - - "*" + - "**" defaults: run: