From ed7d03202c039d18cb07bbf7ac93145a4db49935 Mon Sep 17 00:00:00 2001 From: Severin Neumann Date: Wed, 31 Jul 2024 16:47:13 +0200 Subject: [PATCH] Use fine grained token for component-owners.yml (#4924) --- .github/workflows/component-owners.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/component-owners.yml b/.github/workflows/component-owners.yml index 88f42dbc6df3..d9341e7f522a 100644 --- a/.github/workflows/component-owners.yml +++ b/.github/workflows/component-owners.yml @@ -1,7 +1,6 @@ name: Component owners on: - workflow_dispatch: - # pull_request_target: + pull_request_target: jobs: run_self: @@ -15,5 +14,5 @@ jobs: - uses: dyladan/component-owners@v0.1.0 with: config-file: .github/component-owners.yml - repo-token: ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }} + repo-token: ${{ secrets.OPENTELEMETRYBOT_OPENTELEMETRY_IO_PAT }} assign-owners: false