diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 2f5df82..634d4ee 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -2,10 +2,10 @@ name: "CodeQL" on: push: - branches: [ $default-branch ] + branches: [ main ] pull_request: # The branches below must be a subset of the branches above - branches: [ $default-branch ] + branches: [ main ] schedule: - cron: '15 15 * * 2' diff --git a/.github/workflows/pull-requests.yml b/.github/workflows/pull-requests.yml index 4ecf672..f4356b2 100644 --- a/.github/workflows/pull-requests.yml +++ b/.github/workflows/pull-requests.yml @@ -2,7 +2,7 @@ name: Pull request on: pull_request: - branches: [ $default-branch ] + branches: [ main ] env: GO111MODULE: on