diff --git a/.github/scripts/blank_report_issue.yml b/.github/scripts/blank_report_issue.yml index 214f8e5..9eebdc8 100644 --- a/.github/scripts/blank_report_issue.yml +++ b/.github/scripts/blank_report_issue.yml @@ -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 diff --git a/.github/workflows/issue_auto_label.yml b/.github/workflows/issue_auto_label.yml index eaf61aa..c8ed0fe 100644 --- a/.github/workflows/issue_auto_label.yml +++ b/.github/workflows/issue_auto_label.yml @@ -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