Files
my-rook-config/.github/workflows/auto-assign.yaml
T
Michael Adam c57a21a80e ci: fix the permissions of the assign action
Fixes: #14518

A recent change seems to have broken the permissions of the auto-assign
action.

This tries to fix this by making permissions more specific.

Signed-off-by: Michael Adam <obnox@samba.org>
2024-07-31 20:06:38 +02:00

23 lines
535 B
YAML

name: Assign issue to contributor
on:
issue_comment:
types: [created, edited]
permissions:
contents: read
jobs:
assign:
permissions:
# write permissions are needed to assign the issue.
issues: write
name: Run self assign job
runs-on: ubuntu-latest
steps:
- name: take the issue
uses: bdougie/take-action@main
with:
message: Thanks for taking this issue! Let us know if you have any questions!
trigger: /assign
token: ${{ secrets.GITHUB_TOKEN }}