mirror of
https://github.com/containers/podman.git
synced 2025-08-06 19:44:14 +08:00

When a reviewer of an issue determines that an issue is incompleted, a `needs-info` label can be added to the issue. This will trigger a GH action with an automated response. The reviewer should also have told the user what is needed or asked a question. Also, we have no automated way to remove the label when a response is provided, so this still needs to be managed. Signed-off-by: Brent Baude <bbaude@redhat.com>
29 lines
1.0 KiB
YAML
29 lines
1.0 KiB
YAML
name: Needs info labeler
|
|
on:
|
|
issues:
|
|
types:
|
|
- labeled
|
|
jobs:
|
|
add-comment:
|
|
if: github.event.label.name == 'needs-info'
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
issues: write
|
|
steps:
|
|
- name: Add comment
|
|
run: gh issue comment "$NUMBER" --body "$BODY"
|
|
env:
|
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
GH_REPO: ${{ github.repository }}
|
|
NUMBER: ${{ github.event.issue.number }}
|
|
BODY: |
|
|
A reviewer has determined we need more information to understand the reported issue. A comment on what is missing should be provided. Be certain you:
|
|
|
|
* provide an exact reproducer where possible
|
|
* verify you have provided all relevant information - minimum is `podman info`
|
|
* answer any follow up questions
|
|
|
|
If no response to the `needs-info` is provided in 30 days, this issue may be closed by our stale bot.
|
|
|
|
For more information on reporting issues on this repository, consult our [issue guide](ISSUE.md).
|