From e0cedee0d2bfb4f25ff97fa44d47b45542f5dd62 Mon Sep 17 00:00:00 2001 From: Yukai Chou Date: Tue, 24 Oct 2023 04:12:31 +0800 Subject: [PATCH] Allow CI triggered by branches containing `/` [ci skip] --- .github/workflows/deploy.yaml | 2 +- .github/workflows/main.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 41069a026..3d5c93a13 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -1,6 +1,6 @@ name: Create release -# We create releases for all new tags +# We create releases for all new tags that don't contain '/' in their names on: push: tags: diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 0e6bee932..9fd832ec5 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -5,7 +5,7 @@ on: # Whenever someone pushes to a branch in our repo push: branches: - - "*" + - "**" # Whenever a pull request is opened, reopened or gets new commits. pull_request: # This implies that for every push to a local branch in our repo for which a