Skip to content

Commit

Permalink
ci: changed the triggering of code analysis workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
juarezr committed Mar 14, 2024
1 parent 1e9056e commit 1f789ee
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 9 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/codacy-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,21 @@
name: Codacy Security Scan

on:
schedule:
- cron: '59 11 27 * *'
push:
branches: [ master, main ]
pull_request:
branches: [ master, main ]
branches: [ "master" ]
# pull_request:
# # The branches below must be a subset of the branches above
# branches: [ "master" ]
workflow_run:
workflows: [Test Changes]
branches: [ "master" ]
types:
- completed

permissions:
contents: read

jobs:
codacy-security-scan:
Expand Down
16 changes: 10 additions & 6 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,17 @@
name: "CodeQL"

on:
push:
branches: [ master ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ master ]
schedule:
- cron: '44 10 * * 0'
- cron: '59 10 27 * *'
push:
branches: [ "master" ]
# pull_request:
# branches: [ "master" ]
workflow_run:
workflows: [Test Changes]
branches: [ "master" ]
types:
- completed

jobs:
analyze:
Expand Down

0 comments on commit 1f789ee

Please sign in to comment.