From 367d5b0832c24d9e586eb2969024a389344a84f8 Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Sat, 26 Feb 2022 13:05:02 +0100 Subject: [PATCH] chore(ci): only run release job on pushes, not PRs --- .github/workflows/nodejs.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 7425c05..3949ea5 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -63,6 +63,9 @@ jobs: env: CI: true release: + if: + # prettier-ignore + ${{ github.event_name == 'push' && (github.event.ref == 'refs/heads/main' || github.event.ref == 'refs/heads/next') }} needs: - test-node - test-os