diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index dbf230032..a5c3d1133 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -2,9 +2,9 @@ name: "CodeQL" on: push: - branches: [ "master", "stable-*" ] + branches: [ "master", "main", "stable-*" ] pull_request: - branches: [ "master" ] + branches: [ "master", "main" ] schedule: - cron: '24 18 * * 3' diff --git a/.github/workflows/detectNewJavaFiles.yml b/.github/workflows/detectNewJavaFiles.yml index cda6fccae..7107619e4 100644 --- a/.github/workflows/detectNewJavaFiles.yml +++ b/.github/workflows/detectNewJavaFiles.yml @@ -2,7 +2,7 @@ name: "Detect new java files" on: pull_request: - branches: [ master, stable-* ] + branches: [ master, main, stable-* ] permissions: read-all