From 07835d4cf43e3453f6d1d852580ee597a2ce226f Mon Sep 17 00:00:00 2001 From: Tyler Dixon Date: Thu, 27 Mar 2025 18:10:56 +0000 Subject: [PATCH] Updating action permission --- .github/workflows/post-dependabot.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/post-dependabot.yml b/.github/workflows/post-dependabot.yml index 5ff5855..b3ed637 100644 --- a/.github/workflows/post-dependabot.yml +++ b/.github/workflows/post-dependabot.yml @@ -6,7 +6,8 @@ on: pull_request: branches: - dependabot/npm_and_yarn/** - +permissions: + contents: write jobs: run: runs-on: ubuntu-latest @@ -29,8 +30,8 @@ jobs: - name: Commit changes as Dependabot run: | - git config user.name "dependabot[bot]" - git config user.email "49699333+dependabot[bot]@users.noreply.github.com" + git config --global user.name 'dependabot[bot]' + git config --global user.email '49699333+dependabot[bot]@users.noreply.github.com' git add . - git commit -m "Update licensed cache" + git commit -m "Update licensed cache and dist/ directory" git push