Skip to content

Commit 38b32fe

Browse files
committed
set permissions
1 parent f7905cb commit 38b32fe

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

.github/workflows/update-dependencies.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
pull_request:
66

77
permissions:
8-
pull-requests: write
8+
contents: write
99

1010
env:
1111
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -36,12 +36,11 @@ jobs:
3636
- name: create pull request
3737
uses: peter-evans/create-pull-request@v7.0.8
3838
with:
39-
# author: ${{ github.actor }} <${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com>
40-
# committer: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
39+
author: ${{ github.actor }} <${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com>
40+
committer: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
4141
title: ${{ env.TITLE }}
4242
commit-message: ${{ env.TITLE }}
4343
body: ${{ env.DESC }}
4444
branch: run-dependency-updater
4545
delete-branch: true
46-
base: main
47-
token: ${{ secrets.GITHUB_TOKEN }}
46+
base: main

0 commit comments

Comments
 (0)