From f264ba0a1bb40e040c40803a52e5df3d121d95cb Mon Sep 17 00:00:00 2001 From: Maxime Beauchemin Date: Tue, 2 Apr 2024 20:44:27 -0700 Subject: [PATCH] fix: GHA update-monorepo-lockfiles (#27860) --- .github/workflows/update-monorepo-lockfiles.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/update-monorepo-lockfiles.yml b/.github/workflows/update-monorepo-lockfiles.yml index 4281e79d49162..b0b63a912e29a 100644 --- a/.github/workflows/update-monorepo-lockfiles.yml +++ b/.github/workflows/update-monorepo-lockfiles.yml @@ -16,6 +16,9 @@ concurrency: jobs: update-lock-file: + permissions: + contents: write + pull-requests: write runs-on: ubuntu-latest if: > (github.event_name == 'pull_request' && github.event.pull_request.user.login == 'dependabot[bot]') || @@ -39,6 +42,8 @@ jobs: npm install - name: Commit and Push Changes + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | git config user.name "GitHub-Actions[bot]" git config user.email "github-actions[bot]@users.noreply.github.com"