From 26e5c151e0205b49a2ed485af9ca0cb0940da242 Mon Sep 17 00:00:00 2001 From: ulises-jeremias Date: Mon, 8 Jul 2024 00:37:22 -0300 Subject: [PATCH] chore: Update lint.yml to include writing statuses --- .github/workflows/lint.yml | 8 ++++---- .github/workflows/tf-sec.yml | 1 - 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index bb9e186..10ba284 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,4 +1,4 @@ -name: Super Linter +name: Lint Code Base on: push: @@ -18,6 +18,7 @@ jobs: runs-on: ubuntu-latest permissions: contents: read + statuses: write steps: - name: Checkout Code uses: actions/checkout@v4 @@ -25,12 +26,11 @@ jobs: # Full git history is needed to get a proper # list of changed files within `super-linter` fetch-depth: 0 - - name: Lint Code Base uses: super-linter/super-linter/slim@v6 env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} VALIDATE_ALL_CODEBASE: false DEFAULT_BRANCH: main + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + VALIDATE_TYPESCRIPT_STANDARD: false LINTER_RULES_PATH: . - MARKDOWN_CONFIG_FILE: .markdownlint.json diff --git a/.github/workflows/tf-sec.yml b/.github/workflows/tf-sec.yml index 5ea50ae..1550e84 100644 --- a/.github/workflows/tf-sec.yml +++ b/.github/workflows/tf-sec.yml @@ -25,4 +25,3 @@ jobs: uses: aquasecurity/tfsec-pr-commenter-action@v1.3.1 with: github_token: ${{ secrets.GITHUB_TOKEN }} - soft_fail: true