replace "main" with "$default-branch"

This commit is contained in:
Sergey Dolin
2020-09-28 12:40:36 +05:00
parent f102789f9f
commit 258e8cd817

View File

@@ -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 }}