Skip to content

Commit

Permalink
chore: no CI for release please bot (#1043)
Browse files Browse the repository at this point in the history
this also prevents releasing canaries at the same time as when a
production release is made
  • Loading branch information
luwes authored Dec 13, 2024
1 parent d72caf6 commit f844ede
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ env:

jobs:
build:
# Don't run if the CI is triggered by Release Please
if: ${{ github.actor != 'github-actions[bot]' }}

runs-on: ubuntu-latest
timeout-minutes: 15
permissions:
Expand All @@ -35,6 +38,9 @@ jobs:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

lint:
# Don't run if the CI is triggered by Release Please
if: ${{ github.actor != 'github-actions[bot]' }}

runs-on: ubuntu-latest

steps:
Expand All @@ -51,6 +57,9 @@ jobs:
- run: yarn lint

test:
# Don't run if the CI is triggered by Release Please
if: ${{ github.actor != 'github-actions[bot]' }}

runs-on: ubuntu-latest

steps:
Expand Down

0 comments on commit f844ede

Please sign in to comment.