From 9424bcdf6edb8cf177516a3946772d38792bb302 Mon Sep 17 00:00:00 2001 From: TSR Berry <20988865+TSRBerry@users.noreply.github.com> Date: Sun, 19 Mar 2023 04:09:43 +0100 Subject: [PATCH] Add workflow to perform automated checks for PRs --- .github/workflows/checks.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/checks.yml diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml new file mode 100644 index 000000000000..188fe11ffe0c --- /dev/null +++ b/.github/workflows/checks.yml @@ -0,0 +1,30 @@ +name: Perform checks + +on: + pull_request: + +permissions: + pull-requests: write + checks: write + +jobs: + checks: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - name: Run super-linter + uses: github/super-linter@v4 + env: + VALIDATE_CSHARP: true + VALIDATE_BASH: true + VALIDATE_BASH_EXEC: true + VALIDATE_EDITORCONFIG: true + VALIDATE_GITHUB_ACTIONS: true + VALIDATE_JSON: true + VALIDATE_MARKDOWN: true + VALIDATE_NATURAL_LANGUAGE: true + VALIDATE_PYTHON: true + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}