From e77c61b8b3907f9a7625180f5854684b75752224 Mon Sep 17 00:00:00 2001 From: Edoardo Rosa <6991986+notdodo@users.noreply.github.com> Date: Mon, 29 Jan 2024 22:16:09 +0100 Subject: [PATCH] chore: enable comments on pr --- .github/workflows/infra-security-scan.yml | 5 +---- .github/workflows/local-kicks.yml | 2 -- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/infra-security-scan.yml b/.github/workflows/infra-security-scan.yml index d1178d9..a453297 100644 --- a/.github/workflows/infra-security-scan.yml +++ b/.github/workflows/infra-security-scan.yml @@ -16,9 +16,6 @@ on: working-directory: type: string default: "." - secrets: - github-token: - required: false jobs: infra-security-scan: @@ -40,7 +37,7 @@ jobs: output_path: ${{ inputs.working-directory }}/results.sarif fail_on: high,medium output_formats: "sarif" - token: ${{ secrets.github-token }} + token: ${{ github.token }} enable_comments: ${{ inputs.enable-comments }} - name: Upload SARIF file uses: github/codeql-action/upload-sarif@4b6aa0b07da05d6e43d0e5f9c8596a6532ce1c85 diff --git a/.github/workflows/local-kicks.yml b/.github/workflows/local-kicks.yml index cbb9670..c5e5f8d 100644 --- a/.github/workflows/local-kicks.yml +++ b/.github/workflows/local-kicks.yml @@ -14,5 +14,3 @@ concurrency: jobs: infra-scan: uses: notdodo/github-actions/.github/workflows/infra-security-scan.yml@main - secrets: - github-token: ${{ secrets.GITHUB_TOKEN }}