From 663db1ea3d77e095b3282a322f618f3d08c12c3f Mon Sep 17 00:00:00 2001 From: Ibrahim Mkusa Date: Mon, 4 Nov 2024 17:48:44 -0500 Subject: [PATCH] Action to run linters on repo --- .github/workflows/main.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..47a6c99 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,32 @@ +--- +name: dots + +on: + push: main + pull_request: main + +permissions: {} + +jobs: + build: + name: Lint + runs-on: ubuntu-latest + + permissions: + contents: read + packages: read + # To report GitHub Actions status checks + statuses: write + + steps: + - name: Checkout code + uses: actions/checkout@v4 + with: + # super-linter needs the full git history to get the + # list of files that changed across commits + fetch-depth: 0 + + - name: Super-linter + uses: super-linter/super-linter@v7.1.0 + env: + GITHUB_TOKEN: ${{ secrets.SUPERLINTER }}