From 43dae71ecbe115ca474e234a97fa2937bb8bdfc3 Mon Sep 17 00:00:00 2001 From: Strek Date: Sat, 29 Jan 2022 00:27:48 +0530 Subject: [PATCH] Adds linting for main branch too (#4252) --- .github/workflows/beta_site_lint.yml | 3 +++ .github/workflows/nodejs.yml | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/beta_site_lint.yml b/.github/workflows/beta_site_lint.yml index 8f894054..28b9d8da 100644 --- a/.github/workflows/beta_site_lint.yml +++ b/.github/workflows/beta_site_lint.yml @@ -1,6 +1,9 @@ name: Beta Site Lint / Heading ID check on: + push: + branches: + - main # change this if your default branch is named differently pull_request: types: [opened, synchronize, reopened] diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index eae9820a..a74102e2 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -1,6 +1,9 @@ -name: Build +name: Lint / Flow check on: + push: + branches: + - main # change this if your default branch is named differently pull_request: types: [opened, synchronize, reopened]