Skip to content

Commit

Permalink
add write permissions for GHA bot (#288)
Browse files Browse the repository at this point in the history
  • Loading branch information
pmeier authored Jan 22, 2024
1 parent 00e581f commit f942fae
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/update-docker-requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
- "requirements-docker.lock"
workflow_dispatch:

permissions:
pull-requests: write
contents: write

jobs:
update:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -47,9 +51,11 @@ jobs:
commit-message: update requirements-docker.lock
branch: update-docker-requirements
branch-suffix: timestamp
base: ${{ github.head_ref || github.ref_name }}
title: Update requirements-docker.lock
# prettier-ignore
body:
https://github.com/{{ github.repository }}/actions/runs/{{ github.run_id }}
https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
assignees: ${{ github.actor }}

- name: Show diff
Expand Down

0 comments on commit f942fae

Please sign in to comment.