Skip to content

Commit 223f5f4

Browse files
chore: Update Workflows
1 parent aecedb4 commit 223f5f4

10 files changed

Lines changed: 45 additions & 19 deletions

File tree

.github/ISSUE_TEMPLATE/report_issue.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -268,11 +268,12 @@ body:
268268
description: Select the issue severity level.
269269
multiple: false
270270
options:
271-
- Wrong formatting
272-
- Wrong content
273-
- Missing chapter
274-
- Missing images
275-
- Can't load novels
271+
- Wrong Formatting
272+
- Wrong Content
273+
- Missing Chapter
274+
- Missing Images
275+
- Can't Load Novels
276+
- Domain Changed
276277
- Other
277278
validations:
278279
required: true

.github/scripts/blank_report_issue.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,12 @@ body:
2424
description: Select the issue severity level.
2525
multiple: false
2626
options:
27-
- Wrong formatting
28-
- Wrong content
29-
- Missing chapter
30-
- Missing images
31-
- Can't load novels
27+
- Wrong Formatting
28+
- Wrong Content
29+
- Missing Chapter
30+
- Missing Images
31+
- Can't Load Novels
32+
- Domain Changed
3233
- Other
3334
validations:
3435
required: true

.github/workflows/issue_auto_label.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
- opened
77
- edited
88

9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.event.issue.number }}
11+
cancel-in-progress: true
12+
913
jobs:
1014
auto-label:
1115
name: Auto Label Issues
@@ -23,7 +27,7 @@ jobs:
2327
SELECTED_SEVERITY=""
2428
2529
case "$USER_SELECTED_SEVERITY" in
26-
"Wrong formatting"|"Wrong content"|"Missing chapter"|"Missing images"|"Can't load novels")
30+
"Wrong Formatting"|"Wrong Content"|"Missing Chapter"|"Missing Images"|"Can't Load Novels"|"Domain Changed")
2731
SELECTED_SEVERITY="$USER_SELECTED_SEVERITY"
2832
;;
2933
*)

.github/workflows/issue_moderator.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
issue_comment:
77
types: [created]
88

9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.event.issue.number }}
11+
cancel-in-progress: false
12+
913
jobs:
1014
autoclose:
1115
name: Auto Close Invalid Issues
@@ -19,7 +23,7 @@ jobs:
1923

2024
duplicate-check-enabled: true
2125
duplicate-check-labels: |
22-
["Source Request", "Domain Changed"]
26+
["Plugin Request", "Domain Changed"]
2327
2428
existing-check-enabled: false
2529

@@ -37,7 +41,7 @@ jobs:
3741
},
3842
{
3943
"type": "title",
40-
"regex": ".*(Source name|Short description).*",
44+
"regex": ".*(Plugin name|Short description).*",
4145
"message": "You did not fill out the description in the title"
4246
}
4347
]

.github/workflows/lock.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
- cron: '0 0 * * *'
66
workflow_dispatch:
77

8+
concurrency:
9+
group: ${{ github.workflow }}
10+
cancel-in-progress: false
11+
812
jobs:
913
lock:
1014
name: Lock Inactive Threads

.github/workflows/prettier.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
pull_request:
55
branches: [master]
66

7+
concurrency:
8+
group: ${{ github.workflow }}-${{ github.ref }}
9+
cancel-in-progress: true
10+
711
jobs:
812
format-check:
913
name: Check Code Formatting

.github/workflows/theme_auto_label.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,25 @@ on:
44
issues:
55
types: [labeled]
66

7+
concurrency:
8+
group: ${{ github.workflow }}-${{ github.event.issue.number }}
9+
cancel-in-progress: true
10+
711
jobs:
812
auto-label:
913
name: Auto Label Theme
10-
if: contains(github.event.issue.labels.*.name, 'Source Request')
14+
if: contains(github.event.issue.labels.*.name, 'Plugin Request')
1115
runs-on: ubuntu-latest
1216
env:
1317
REPO: ${{ github.repository }}
1418
ISSUE_NUMBER: ${{ github.event.issue.number }}
1519
steps:
16-
- name: Get Source Request URL
20+
- name: Get Plugin Website URL
1721
id: get_url
1822
env:
1923
ISSUE_BODY: ${{ github.event.issue.body }}
2024
run: |
21-
URL=$(echo "$ISSUE_BODY" | sed -n '/### Source link/,+2p' | sed '1,2d' | tr -d '[:space:]')
25+
URL=$(echo "$ISSUE_BODY" | sed -n '/### Website URL/,+2p' | sed '1,2d' | tr -d '[:space:]')
2226
echo "URL=$URL" >> $GITHUB_OUTPUT
2327
echo "Using URL: \`$URL\`" >> $GITHUB_STEP_SUMMARY
2428

.github/workflows/update-issue-template.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ on:
99
branches:
1010
- master
1111

12+
concurrency:
13+
group: ${{ github.workflow }}
14+
cancel-in-progress: true
15+
1216
jobs:
1317
update_template:
1418
name: Update Issue Template

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<p>
44
<img alt="LNReader plugins counting" src="https://raw.githubusercontent.com/LNReader/lnreader-plugins/plugins/v3.0.0/total.svg">
5-
<img alt="GitHub issues by-label" src="https://img.shields.io/github/issues/lnreader/lnreader-plugins/Source%20Request?color=success&label=source%20requests">
5+
<img alt="GitHub issues by-label" src="https://img.shields.io/github/issues/lnreader/lnreader-plugins/Plugin%20Request?color=success&label=plugin%20requests">
66
<img alt="GitHub issues by-label" src="https://img.shields.io/github/issues/lnreader/lnreader-plugins/Bug?color=red&label=bugs">
77
</p>
88

scripts/build-plugin-manifest.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,8 @@ if (!ONLY_NEW)
192192
<rect width="80" height="20" fill="url(#s)"/>
193193
</g>
194194
<g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110">
195-
<text aria-hidden="true" x="255" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="390">Plugins</text>
196-
<text x="255" y="140" transform="scale(.1)" fill="#fff" textLength="390">Plugins</text>
195+
<text aria-hidden="true" x="255" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="390">plugins</text>
196+
<text x="255" y="140" transform="scale(.1)" fill="#fff" textLength="390">plugins</text>
197197
<text aria-hidden="true" x="635" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="210">${totalPlugins}</text>
198198
<text x="635" y="140" transform="scale(.1)" fill="#fff" textLength="210">${totalPlugins}</text>
199199
</g>

0 commit comments

Comments
 (0)