Skip to content

Commit

Permalink
GitHub issue template: Don't require steps to reproduce
Browse files Browse the repository at this point in the history
We are trying to make the issue template easier to fill out. While steps
to reproduce are often very useful, there are issues which they don't
really apply to, or are not necessary. Lets try to make them not
required and see how it turns out.
  • Loading branch information
adombeck committed Aug 26, 2024
1 parent c26ccec commit a64a3db
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,16 +59,16 @@ body:
Please include screenshots (you can drag any image here) where applicable. Redact any sensitive information.
validations:
required: true
required: false
- type: textarea
attributes:
label: "System information and logs"
description: |
Copy this command and run it in a terminal. It will open a text editor with the system information and logs. Paste the output below. Redact any sensitive information from the logs.
```bash
TMPFILE=$(mktemp authd-system-info-XXXXXX.md)
if command -v xdg-open > /dev/null && [ -n "${DISPLAY:-}" ]; then EDITOR=xdg-open; elif [ -z "${EDITOR:-}" ]; then EDITOR=editor; fi
cat > "$TMPFILE" <<EOF && $EDITOR "$TMPFILE" && rm -f "$TMPFILE"
if command -v xdg-open > /dev/null && [ -n "${DISPLAY:-}" ]; then authd_editor=xdg-open; elif [ -n "${EDITOR:-}" ]; then authd_editor=$EDITOR; fi
cat > "$TMPFILE" <<EOF && ${authd_editor:-editor} "$TMPFILE"
#### authd version
\`\`\`
$(/usr/libexec/authd version)
Expand Down

0 comments on commit a64a3db

Please sign in to comment.