Fixes: #14518 The previous attempt to fix the auto-assign action has introduced an indentation error in the workflow yaml file. This should finally fix it, hopefully. Signed-off-by: Michael Adam <obnox@samba.org>
23 lines
537 B
YAML
23 lines
537 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 }}
|