From e548c507cbaab8033329a5787d70adc4fd033902 Mon Sep 17 00:00:00 2001 From: Lucid Kobold <72232219+LucidKobold@users.noreply.github.com> Date: Mon, 13 Sep 2021 17:22:19 -0400 Subject: [PATCH] Update node.js.yml Attempted fix for CI/CD not running for PRs --- .github/workflows/node.js.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 6d49a71..4c45b90 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -3,8 +3,15 @@ name: Node.js CI -# Triggers the workflow on push or pull request events -on: [push, pull_request] +on: + # Trigger the workflow on push or pull request, + push: + branches: + # Only on the main branch + - main + pull_request: + # These types of PRs + types: [assigned, opened, synchronize, reopened] jobs: build: