Skip to content

Commit

Permalink
ci(linter): setup super linter workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rlespinasse authored Jun 11, 2023
1 parent 094dd7f commit 049fc0e
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
name: Lint Code Base

on: pull_request

jobs:
build:
name: Lint Code Base
runs-on: ubuntu-latest
permissions:
contents: read
packages: read
statuses: write
steps:
- name: Checkout Code
uses: actions/checkout@v3
with:
# Full git history is needed to get a proper list of changed files within `super-linter`
fetch-depth: 0

- name: Lint Code Base
uses: github/super-linter@v5
env:
VALIDATE_ALL_CODEBASE: false
DEFAULT_BRANCH: v4.x
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 049fc0e

Please sign in to comment.