diff --git a/.github/workflows/shared-terraform-module.yml b/.github/workflows/shared-terraform-module.yml index c5808be..5b94e2c 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 }} @@ -36,13 +32,12 @@ jobs: secrets: inherit ci-codeowners: - uses: cloudposse/github-actions-workflows/.github/workflows/ci-codeowners.yml@main + uses: cloudposse/github-actions-workflows/.github/workflows/ci-codeowners.yml@codeowners-github-app name: "CI" 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) }}