Ignore resticw from linter
This commit is contained in:
@@ -1,33 +1,34 @@
|
|||||||
name: Lint Code Base
|
name: Lint Code Base
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
branches: main
|
branches: main
|
||||||
paths:
|
paths:
|
||||||
- '**.sh'
|
- "**.sh"
|
||||||
- '.github/workflows/linter.yml'
|
- ".github/workflows/linter.yml"
|
||||||
- 'bin/**'
|
- "bin/**"
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: main
|
branches: main
|
||||||
paths:
|
paths:
|
||||||
- '**.sh'
|
- "**.sh"
|
||||||
- '.github/workflows/linter.yml'
|
- ".github/workflows/linter.yml"
|
||||||
- 'bin/**'
|
- "bin/**"
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Lint Code Base
|
name: Lint Code Base
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Code
|
- name: Checkout Code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
# Full git history is needed to get a proper list of changed files within `super-linter`
|
# Full git history is needed to get a proper list of changed files within `super-linter`
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Lint Code Base
|
- name: Lint Code Base
|
||||||
uses: github/super-linter@v4
|
uses: github/super-linter@v4
|
||||||
env:
|
env:
|
||||||
VALIDATE_ALL_CODEBASE: true
|
VALIDATE_ALL_CODEBASE: true
|
||||||
VALIDATE_BASH: true
|
VALIDATE_BASH: true
|
||||||
DEFAULT_BRANCH: main
|
DEFAULT_BRANCH: main
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
FILTER_REGEX_EXCLUDE: ^bin/resticw$
|
||||||
|
|||||||
Reference in New Issue
Block a user