Skip to content

Commit

Permalink
ci: fix workflow branches
Browse files Browse the repository at this point in the history
  • Loading branch information
PabloCastellano committed Aug 6, 2024
1 parent b04d536 commit fa3a656
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/changesets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Changesets
on:
workflow_run:
workflows: ["CI"]
branches: ["next"]
branches: ["main"]
types:
- completed

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Deploy staging
on:
workflow_run:
workflows: ["Docker"]
branches: ["next"]
branches: ["main"]
types:
- completed

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
workflow_run:
workflows: ["CI"]
tags: ["v*"]
branches: ["main"]
types:
- completed

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nextjs-bundle-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit fa3a656

Please sign in to comment.