From ae582d280403b2e5ebd8771e71244f0da3ec1605 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 24 Apr 2024 17:50:03 +0000 Subject: [PATCH 1/2] Bump github/super-linter from 5 to 6 Bumps [github/super-linter](https://github.com/github/super-linter) from 5 to 6. - [Release notes](https://github.com/github/super-linter/releases) - [Changelog](https://github.com/github/super-linter/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/super-linter/compare/v5...v6) --- updated-dependencies: - dependency-name: github/super-linter dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index d16d7f8..a0c2b4b 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -18,7 +18,7 @@ jobs: # Runs the Super-Linter action - name: Run Super-Linter on new changes - uses: github/super-linter@v5 + uses: github/super-linter@v6 env: DEFAULT_BRANCH: main GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 70cd019030c18c34be587e558630b61655959d20 Mon Sep 17 00:00:00 2001 From: Enol Fernandez Date: Thu, 25 Apr 2024 10:36:01 +0100 Subject: [PATCH 2/2] Linting fixes Also disabling CHECKOV as this is a bit too much for now --- .github/workflows/check-links.yml | 2 ++ .github/workflows/deploy.yaml | 3 +++ .github/workflows/docker.yml | 2 ++ .github/workflows/lint.yml | 6 ++++-- 4 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check-links.yml b/.github/workflows/check-links.yml index c75398a..1a37205 100644 --- a/.github/workflows/check-links.yml +++ b/.github/workflows/check-links.yml @@ -3,6 +3,8 @@ name: Check links on: [push, pull_request] +permissions: read-all + jobs: markdown-link-check: name: Check links using markdown-link-check diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 798f475..1ea2367 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -9,6 +9,9 @@ on: paths: - 'deployment/**' +permissions: + pull-requests: write + jobs: terraform: name: 'Terraform' diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 6b47bb7..a9e11e4 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -1,6 +1,8 @@ --- name: Check the container can be built +permissions: read-all + on: push: branches: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index a0c2b4b..b8885e1 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,7 +1,9 @@ --- name: Lint -on: [push, pull_request] +on: pull_request + +permissions: read-all jobs: super-lint: @@ -13,7 +15,6 @@ jobs: - name: Checkout code uses: actions/checkout@v4 with: - # Full git history needed to get proper list of changed files fetch-depth: 0 # Runs the Super-Linter action @@ -26,3 +27,4 @@ jobs: VALIDATE_ALL_CODEBASE: false # Fail on errors DISABLE_ERRORS: false + VALIDATE_CHECKOV: false