From c5fb65223ca7869989e875bded8d6b96c7c225cc Mon Sep 17 00:00:00 2001 From: Dmitry Shemetov Date: Wed, 12 Jul 2023 12:32:56 -0700 Subject: [PATCH] bug(ci): change scope of GH_TOKEN env??? --- .github/workflows/dependabot-assignments.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/dependabot-assignments.yml b/.github/workflows/dependabot-assignments.yml index cb2039fb1..b1a9c63e0 100644 --- a/.github/workflows/dependabot-assignments.yml +++ b/.github/workflows/dependabot-assignments.yml @@ -6,11 +6,10 @@ permissions: write-all jobs: dependabot: runs-on: ubuntu-latest - env: - GH_TOKEN: ${{ secrets.CMU_DELPHI_AUTOMATION_MACHINE_DEPENDABOT_PAT }} if: ${{ github.actor == 'dependabot[bot]' }} steps: - name: Assign team to PR run: gh pr edit "$PR_URL" --add-reviewer "code-reviewers" env: - PR_URL: ${{github.event.pull_request.html_url}} \ No newline at end of file + PR_URL: ${{github.event.pull_request.html_url}} + GH_TOKEN: ${{ secrets.CMU_DELPHI_AUTOMATION_MACHINE_DEPENDABOT_PAT }} \ No newline at end of file