mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 22:26:56 +00:00
replace "main" with "$default-branch"
This commit is contained in:
4
.github/workflows/linter.yml
vendored
4
.github/workflows/linter.yml
vendored
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user