From 5686952729e0e4c4588d2ac30a84e17b9436b5e8 Mon Sep 17 00:00:00 2001 From: Roberto Devesa <15369573+Roberdvs@users.noreply.github.com> Date: Mon, 13 Nov 2023 14:56:14 +0100 Subject: [PATCH] Replace usage of secrets.SUPPORT_TOKEN --- .github/workflows/goreleaser.yml | 2 +- .github/workflows/release-drafter.yml | 2 +- .github/workflows/reviewdog.yml | 4 ++-- .github/workflows/tfsec.yaml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index c5c9e9a..798e00e 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -23,4 +23,4 @@ jobs: version: latest args: release --rm-dist env: - GITHUB_TOKEN: ${{ secrets.SUPPORT_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 785a3a7..4bcc561 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -16,4 +16,4 @@ jobs: with: config-name: release-drafter.yml env: - GITHUB_TOKEN: ${{ secrets.SUPPORT_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/reviewdog.yml b/.github/workflows/reviewdog.yml index ed53a3f..9b4940c 100644 --- a/.github/workflows/reviewdog.yml +++ b/.github/workflows/reviewdog.yml @@ -21,12 +21,12 @@ jobs: with: golangci_lint_flags: "--tests=false --exclude-use-default=false --enable-all -D gci -D scopelint -D exhaustivestruct -D wsl -D gomnd -D gochecknoglobals -D lll -D golint -D forbidigo -D ireturn" level: "warning" - github_token: ${{ secrets.SUPPORT_TOKEN }} + github_token: ${{ secrets.GITHUB_TOKEN }} reporter: github-pr-check - name: golangci-lint-pr-preview uses: reviewdog/action-golangci-lint@v2 with: golangci_lint_flags: "--tests=false --exclude-use-default=false --enable-all -D gci -D scopelint -D exhaustivestruct -D wsl -D gomnd -D gochecknoglobals -D lll -D golint -D forbidigo -D ireturn" level: "warning" - github_token: ${{ secrets.SUPPORT_TOKEN }} + github_token: ${{ secrets.GITHUB_TOKEN }} reporter: github-pr-review diff --git a/.github/workflows/tfsec.yaml b/.github/workflows/tfsec.yaml index 73d01bc..6b4d1a6 100644 --- a/.github/workflows/tfsec.yaml +++ b/.github/workflows/tfsec.yaml @@ -12,4 +12,4 @@ jobs: uses: aquasecurity/tfsec-pr-commenter-action@v1.0.3 with: working_directory: terraform - github_token: ${{ secrets.SUPPORT_TOKEN }} \ No newline at end of file + github_token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file