[skip ci]: Fix auto issue labeling (#1709)
* Update issue_auto_label.yml * Update blank_report_issue.yml
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
# DO NOT EDIT
|
||||
# THIS FILE IS AUTO GENERATED FROM blank_report_issue.yml in the .github/scripts folder.
|
||||
|
||||
name: Issue report
|
||||
description: Report a source issue in LNReader
|
||||
labels: [Bug]
|
||||
@@ -69,7 +72,18 @@ body:
|
||||
description: |
|
||||
You can find your LNReader version in **More → About**.
|
||||
placeholder: |
|
||||
Example: "1.1.19"
|
||||
Example: "2.0.0"
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: input
|
||||
id: plugin-version
|
||||
attributes:
|
||||
label: Plugin version
|
||||
description: |
|
||||
You can find your Plugin version in **Browse → Installed** and scrolling to the desired source.
|
||||
placeholder: |
|
||||
Example: "1.0.1"
|
||||
validations:
|
||||
required: true
|
||||
|
||||
@@ -80,7 +94,7 @@ body:
|
||||
description: |
|
||||
You can find this somewhere in your Android settings.
|
||||
placeholder: |
|
||||
Example: "Android 11"
|
||||
Example: "Android 15"
|
||||
validations:
|
||||
required: true
|
||||
|
||||
@@ -101,7 +115,7 @@ body:
|
||||
required: true
|
||||
- label: I have written a short but informative title.
|
||||
required: true
|
||||
- label: I have updated the app to version **[1.1.19](https://github.com/LNReader/lnreader/releases/latest)**.
|
||||
- label: I have updated the app to version **[2.0.0](https://github.com/LNReader/lnreader/releases/tag/v2.0.0-beta.3).**
|
||||
required: true
|
||||
- label: I have updated all installed extensions.
|
||||
required: true
|
||||
|
||||
@@ -34,7 +34,7 @@ jobs:
|
||||
- name: Extract the plugin from issue body
|
||||
id: parse-issue
|
||||
run: |
|
||||
SELECTED_PLUGIN=$(echo "${{ github.event.issue.body }}" | grep "### Plugin" -A 2 | tail -n 1 | sed 's/[[:space:]]*$//')
|
||||
SELECTED_PLUGIN=$(echo "${{ github.event.issue.body }}" | awk '/### Plugin/ {f=1; next} f && NF {print; exit}' | sed 's/^[[:space:]]*//;s/[[:space:]]*$//')
|
||||
|
||||
echo "SELECTED_PLUGIN=$SELECTED_PLUGIN" >> $GITHUB_ENV
|
||||
|
||||
|
||||
Reference in New Issue
Block a user