diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..d6ab81f --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,29 @@ +--- +name: Lint + +on: + push: + pull_request: + +permissions: {} + +jobs: + build: + name: Lint + runs-on: ubuntu-latest + + permissions: + contents: read + packages: read + statuses: write + + steps: + - name: Checkout code + uses: actions/checkout@v4 + with: + fetch-depth: 0 # super-linter needs the full git history to get the list of files that changed across commits + + - name: Super-linter + uses: super-linter/super-linter@v7 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # To report GitHub Actions status checks \ No newline at end of file