From 258e8cd8177fcc559226192b40238c0134e7ffc5 Mon Sep 17 00:00:00 2001 From: Sergey Dolin Date: Mon, 28 Sep 2020 12:40:36 +0500 Subject: [PATCH] replace "main" with "$default-branch" --- .github/workflows/linter.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 461611bba..42eb7cad8 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -4,7 +4,7 @@ name: CI on: pull_request: - branches: [main] + branches: [$default-branch] jobs: build: @@ -22,4 +22,4 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} VALIDATE_JSON: true VALIDATE_MD: true - DEFAULT_BRANCH: main + DEFAULT_BRANCH: ${{ github.base_ref }}