Ignore resticw from linter

This commit is contained in:
Erik Westrup
2023-03-08 11:39:13 +01:00
parent 7bc0e33779
commit 987bc39d00
+30 -29
View File
@@ -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$