mirror of
https://github.com/actions/runner-images.git
synced 2025-12-25 02:47:41 +08:00
Merge pull request #1795 from Darleev/v-danurg/lint_shebang_ubuntu
Shebang lint for Ubuntu/MacOS
This commit is contained in:
10
.github/workflows/linter.yml
vendored
10
.github/workflows/linter.yml
vendored
@@ -1,11 +1,11 @@
|
||||
# CI Validation
|
||||
|
||||
name: CI
|
||||
name: Linter
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [$default-branch]
|
||||
|
||||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Lint JSON & MD files
|
||||
@@ -23,3 +23,7 @@ jobs:
|
||||
VALIDATE_JSON: true
|
||||
VALIDATE_MD: true
|
||||
DEFAULT_BRANCH: ${{ github.base_ref }}
|
||||
|
||||
- name: Checking shebang lines in MacOS and Ubuntu releases.
|
||||
run: ./images.CI/shebang-linter.ps1
|
||||
shell: pwsh
|
||||
|
||||
Reference in New Issue
Block a user