From d1ca8ffbce40ea2371e35bca356db0acacf567d2 Mon Sep 17 00:00:00 2001 From: Romain Lespinasse Date: Sun, 11 Jun 2023 11:34:00 +0200 Subject: [PATCH] ci(linter): setup super linter workflow --- .github/workflows/linter.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/linter.yml diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml new file mode 100644 index 0000000..6af724c --- /dev/null +++ b/.github/workflows/linter.yml @@ -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 }} + \ No newline at end of file