Skip to content

Commit

Permalink
Use github app for codeowners validation (#132)
Browse files Browse the repository at this point in the history
* Use github app for codeowners validation

* Update shared-terraform-module.yml
  • Loading branch information
goruha authored Oct 10, 2024
1 parent e487eac commit 2d34b36
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/shared-terraform-module.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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) }}
Expand Down

0 comments on commit 2d34b36

Please sign in to comment.