fix: GHA update-monorepo-lockfiles (#27860)

This commit is contained in:
Maxime Beauchemin 2024-04-02 20:44:27 -07:00 committed by GitHub
parent 59f0057017
commit c990baf96a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 0 deletions

View File

@ -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"