From 51f46272257e0322d9562c638f92b812f4a4d81d Mon Sep 17 00:00:00 2001 From: Mateusz Szostok Date: Tue, 31 Aug 2021 23:46:18 +0200 Subject: [PATCH] Rename workflow branches --- .github/workflows/codeql-analysis.yml | 4 ++-- .github/workflows/pull-requests.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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