From 2d34b36821323ffe0e4b2887410e579b5d92848d Mon Sep 17 00:00:00 2001 From: Igor Rodionov Date: Thu, 10 Oct 2024 13:14:17 +0300 Subject: [PATCH] Use github app for codeowners validation (#132) * Use github app for codeowners validation * Update shared-terraform-module.yml --- .github/workflows/shared-terraform-module.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/shared-terraform-module.yml b/.github/workflows/shared-terraform-module.yml index c5808be..e51a57a 100644 --- a/.github/workflows/shared-terraform-module.yml +++ b/.github/workflows/shared-terraform-module.yml @@ -7,10 +7,6 @@ on: type: string required: false default: '["ubuntu-latest"]' - secrets: - REPO_ACCESS_TOKEN: - description: "GitHub API token" - required: false concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -41,8 +37,7 @@ jobs: with: is_fork: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository }} runs-on: ${{ inputs.runs-on }} - secrets: - github_access_token: ${{ secrets.REPO_ACCESS_TOKEN }} + secrets: inherit ci-labels: runs-on: ${{ fromJSON(inputs.runs-on) }}