diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index 3b220a59..881cb131 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -1,5 +1,11 @@ name: Tests pipeline -on: [push] +on: + push: + branches: + - main + pull_request: + branches: + - main jobs: unit-tests: diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 7ade64bb..476093e1 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -14,8 +14,10 @@ name: "CodeQL" on: push: branches: - - '*' - - '!main' + - main + pull_request: + branches: + - main schedule: - cron: '36 15 * * 5'