mirror of
https://github.com/actions/add-to-project.git
synced 2025-12-10 20:21:17 +00:00
Updating action permission
This commit is contained in:
9
.github/workflows/post-dependabot.yml
vendored
9
.github/workflows/post-dependabot.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user