Skip to content

Commit

Permalink
fix: GHA update-monorepo-lockfiles (apache#27860)
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch authored and EandrewJones committed Apr 5, 2024
1 parent 5052cc3 commit edc5a87
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/update-monorepo-lockfiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]') ||
Expand All @@ -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"
Expand Down

0 comments on commit edc5a87

Please sign in to comment.