Skip to content

Commit

Permalink
Run Node.js CI & CodeQL only on main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
n-thumann committed Nov 13, 2021
1 parent 745e60e commit 81f0ddd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: "CodeQL"

on:
push:
branches: dev
branches: [ main ]
pull_request:
branches: [master, dev]
branches: [ main ]
schedule:
- cron: '0 8 * * 3'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: "Node.js CI"

on:
push:
branches: dev
branches: [ main ]
pull_request:
branches: [ master, dev ]
branches: [ main ]

jobs:
build:
Expand Down

0 comments on commit 81f0ddd

Please sign in to comment.