mirror of
https://github.com/actions/runner-images.git
synced 2025-12-20 06:35:47 +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:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [main]
|
branches: [$default-branch]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@@ -22,4 +22,4 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
VALIDATE_JSON: true
|
VALIDATE_JSON: true
|
||||||
VALIDATE_MD: true
|
VALIDATE_MD: true
|
||||||
DEFAULT_BRANCH: main
|
DEFAULT_BRANCH: ${{ github.base_ref }}
|
||||||
|
|||||||
Reference in New Issue
Block a user