diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index b09590d4830..06feb7fd69a 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -2,6 +2,7 @@ name: "CodeQL" on: push: + branches: ["master"] paths: ["_javascript/**/*.js"] pull_request: paths: ["_javascript/**/*.js"] diff --git a/.github/workflows/style-lint.yml b/.github/workflows/style-lint.yml index f7aa54db344..e095978d05a 100644 --- a/.github/workflows/style-lint.yml +++ b/.github/workflows/style-lint.yml @@ -2,14 +2,10 @@ name: "Style Lint" on: push: - branches-ignore: - - "production" - - "docs" - paths: - - "_sass/**/*.scss" + branches: ["master"] + paths: ["_sass/**/*.scss"] pull_request: - paths: - - "_sass/**/*.scss" + paths: ["_sass/**/*.scss"] jobs: stylelint: