Skip to content

Commit

Permalink
ci(publish): only run canary steps when not releasing latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
bernardobridge committed Jan 31, 2024
1 parent 219bff2 commit dbe2c01
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/npm-publish-all-packages-canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ on:

jobs:
publish-fargate-worker-image:
if: "!contains( github.event.head_commit.message, 'ci: release v')"
uses: ./.github/workflows/docker-ecs-worker-image.yml
permissions:
contents: read
Expand All @@ -28,6 +29,7 @@ jobs:

build:
runs-on: ubuntu-latest
if: "!contains( github.event.head_commit.message, 'ci: release v')"
permissions:
contents: read
packages: write
Expand Down

0 comments on commit dbe2c01

Please sign in to comment.