Skip to content

Commit

Permalink
ci: avoid trigger redundant workflows (#1682)
Browse files Browse the repository at this point in the history
CodeQL and Sytle Lint
  • Loading branch information
cotes2020 authored Apr 16, 2024
1 parent bf16d60 commit c85e9e2
Showing 2 changed files with 4 additions and 7 deletions.
1 change: 1 addition & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -2,6 +2,7 @@ name: "CodeQL"

on:
push:
branches: ["master"]
paths: ["_javascript/**/*.js"]
pull_request:
paths: ["_javascript/**/*.js"]
10 changes: 3 additions & 7 deletions .github/workflows/style-lint.yml
Original file line number Diff line number Diff line change
@@ -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:

0 comments on commit c85e9e2

Please sign in to comment.