From: Jonathan McDowell Date: Fri, 15 Sep 2023 02:46:08 +0000 (+0530) Subject: Explicitly use main rather than default-branch in GitHub build action X-Git-Tag: onak-0.6.3~18 X-Git-Url: https://the.earth.li/gitweb/?a=commitdiff_plain;h=b502f610c69279ee0f806d04489736a0abc771b0;p=onak.git Explicitly use main rather than default-branch in GitHub build action It looks like $default-branch is only available in templates. --- diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 325539c..427038a 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -2,9 +2,9 @@ name: onak build test on: push: - branches: [ $default-branch ] + branches: [ main ] pull_request: - branches: [ $default-branch ] + branches: [ main ] jobs: build: