From f844ede562854453345c4034e134d4cc0b11c661 Mon Sep 17 00:00:00 2001 From: Wesley Luyten Date: Fri, 13 Dec 2024 08:15:18 -0600 Subject: [PATCH] chore: no CI for release please bot (#1043) this also prevents releasing canaries at the same time as when a production release is made --- .github/workflows/ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f492491a8..8adda074e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: @@ -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: @@ -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: