From fa3a656217a113c112014421e5e09a2648202d94 Mon Sep 17 00:00:00 2001 From: Pablo Castellano Date: Tue, 6 Aug 2024 18:13:07 +0200 Subject: [PATCH] ci: fix workflow branches --- .github/workflows/changesets.yml | 2 +- .github/workflows/deploy-staging.yml | 2 +- .github/workflows/docker.yml | 1 + .github/workflows/nextjs-bundle-analysis.yml | 4 ++-- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/changesets.yml b/.github/workflows/changesets.yml index 55a541fe8..8c94b1caa 100644 --- a/.github/workflows/changesets.yml +++ b/.github/workflows/changesets.yml @@ -3,7 +3,7 @@ name: Changesets on: workflow_run: workflows: ["CI"] - branches: ["next"] + branches: ["main"] types: - completed diff --git a/.github/workflows/deploy-staging.yml b/.github/workflows/deploy-staging.yml index dacb325c2..adf54ed43 100644 --- a/.github/workflows/deploy-staging.yml +++ b/.github/workflows/deploy-staging.yml @@ -3,7 +3,7 @@ name: Deploy staging on: workflow_run: workflows: ["Docker"] - branches: ["next"] + branches: ["main"] types: - completed diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 7bbaba73f..a8c60abd8 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -4,6 +4,7 @@ on: workflow_run: workflows: ["CI"] tags: ["v*"] + branches: ["main"] types: - completed diff --git a/.github/workflows/nextjs-bundle-analysis.yml b/.github/workflows/nextjs-bundle-analysis.yml index 10f07c699..d91a143ff 100644 --- a/.github/workflows/nextjs-bundle-analysis.yml +++ b/.github/workflows/nextjs-bundle-analysis.yml @@ -5,10 +5,10 @@ name: "Next.js Bundle Analysis" on: pull_request: - branches: ["*", "!changeset-release/next"] + branches: ["*", "!changeset-release/main"] push: branches: - - next + - main workflow_dispatch: concurrency: ${{ github.workflow }}-${{ github.ref }}