ci: permissions
This commit is contained in:
6
.github/workflows/dependency-check.yml
vendored
6
.github/workflows/dependency-check.yml
vendored
@@ -193,9 +193,11 @@ jobs:
|
|||||||
- name: Create Pull Request with dependency updates
|
- name: Create Pull Request with dependency updates
|
||||||
if: steps.upgrade.outputs.has_updates == 'true'
|
if: steps.upgrade.outputs.has_updates == 'true'
|
||||||
uses: infinilabs/gitea-pr@v0
|
uses: infinilabs/gitea-pr@v0
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
with:
|
with:
|
||||||
url: ${{ secrets.GITEA_URL }}
|
url: ${{ github.server_url }}
|
||||||
token: ${{ secrets.GITEA_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
path: ${{ github.workspace }}/axum-template
|
path: ${{ github.workspace }}/axum-template
|
||||||
commit-message: "chore: upgrade dependencies"
|
commit-message: "chore: upgrade dependencies"
|
||||||
committer: "Dependency Bot <bot@github.actions>"
|
committer: "Dependency Bot <bot@github.actions>"
|
||||||
|
|||||||
Reference in New Issue
Block a user