Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add write permissions for GHA bot #288

Merged
merged 11 commits into from
Jan 22, 2024
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
Loading