[skip ci] Update github-related files to match upstream (#1314)

* [skip ci] chore: Update workflows

* chore: Update issue templates

* chore: Update url in README
This commit is contained in:
Claudemirovsky 2023-02-22 09:09:54 -03:00 committed by GitHub
parent 59aeb2dd65
commit 6572205982
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 92 additions and 223 deletions

View file

@ -2,11 +2,11 @@
I acknowledge that: I acknowledge that:
- I have updated to the latest version of the app (stable is v0.12.3.7) - I have updated to the latest version of the app (stable is v0.12.3.10)
- I have updated all extensions - I have updated all extensions
- If this is an issue with the app itself, that I should be opening an issue in https://github.com/jmir1/aniyomi - If this is an issue with the app itself, that I should be opening an issue in https://github.com/jmir1/aniyomi
- I have searched the existing issues for duplicates - I have searched the existing issues for duplicates
- For source requests, I have checked the list of existing extensions including the multi-source spreadsheet: https://aniyomi.jmir.xyz/extensions/ - For source requests, I have checked the list of existing extensions including the multi-source spreadsheet: https://aniyomi.org/extensions/
**DELETE THIS SECTION IF YOU HAVE READ AND ACKNOWLEDGED IT** **DELETE THIS SECTION IF YOU HAVE READ AND ACKNOWLEDGED IT**

View file

@ -4,11 +4,11 @@ contact_links:
url: https://github.com/jmir1/aniyomi/issues/new/choose url: https://github.com/jmir1/aniyomi/issues/new/choose
about: Issues and requests about the app itself should be opened in the tachiyomi repository instead about: Issues and requests about the app itself should be opened in the tachiyomi repository instead
- name: 📦 Aniyomi extensions - name: 📦 Aniyomi extensions
url: https://aniyomi.jmir.xyz/extensions url: https://aniyomi.org/extensions
about: List of all available extensions with download links about: List of all available extensions with download links
- name: 🖥️ Aniyomi website - name: 🖥️ Aniyomi website
url: https://aniyomi.jmir.xyz/help/ url: https://aniyomi.org/help/
about: Common questions are answered here. about: Guides, troubleshooting, and answers to common questions
- name: Aniyomi app GitHub repository - name: Aniyomi app GitHub repository
url: https://github.com/jmir1/aniyomi url: https://github.com/jmir1/aniyomi
about: Issues about the app itself should be opened here instead. about: Issues about the app itself should be opened here instead.

View file

@ -1,28 +0,0 @@
---
name: "🌟 Feature request"
title: "[Feature Request] <Source Name>: <short description>"
about: "Suggest a feature to improve a source"
labels: "enhancement"
---
**PLEASE READ THIS**
I acknowledge that:
- I have updated:
- To the latest version of the app (stable is v0.10.12)
- All extensions
- I have tried the troubleshooting guide: https://aniyomi.jmir.xyz/help/guides/troubleshooting-problems/
- If this is an issue with the app itself, that I should be opening an issue in https://github.com/jmir1/aniyomi
- I have searched the existing issues and this is new ticket **NOT** a duplicate or related to another open issue
- For source requests, I have checked the list of existing extensions including the multi-source spreadsheet: https://aniyomi.jmir.xyz/extensions/
- I will fill out the title and the information in this template
Note that the issue will be automatically closed if you do not fill out the title or requested information.
**DELETE THIS SECTION IF YOU HAVE READ AND ACKNOWLEDGED IT**
---
## What feature should be added to this source?
Explain why this should be added

View file

@ -1,30 +0,0 @@
---
name: "🧠 Meta feature request"
title: "[Meta] <short description>"
about: "Suggest improvements to the project"
labels: "meta"
---
**PLEASE READ THIS**
I acknowledge that:
- I have updated:
- To the latest version of the app (stable is v0.10.12)
- All extensions
- I have tried the troubleshooting guide: https://aniyomi.jmir.xyz/help/guides/troubleshooting-problems/
- If this is an issue with the app itself, that I should be opening an issue in https://github.com/jmir1/aniyomi
- I have searched the existing issues and this is new ticket **NOT** a duplicate or related to another open issue
- For source requests, I have checked the list of existing extensions including the multi-source spreadsheet: https://aniyomi.jmir.xyz/extensions/
- I will fill out the title and the information in this template
Note that the issue will be automatically closed if you do not fill out the title or requested information.
**DELETE THIS SECTION IF YOU HAVE READ AND ACKNOWLEDGED IT**
---
## Why/Project's Benefit/Existing Problem
Explain why this should be added
## Other Details

View file

@ -2,7 +2,6 @@ name: 🐞 Issue report
description: Report a source issue in Aniyomi description: Report a source issue in Aniyomi
labels: [Bug] labels: [Bug]
body: body:
- type: input - type: input
id: source id: source
attributes: attributes:
@ -10,7 +9,7 @@ body:
description: | description: |
You can find the extension name and version in **Browse → Extensions**. You can find the extension name and version in **Browse → Extensions**.
placeholder: | placeholder: |
Example: "Mangahere 1.3.18 (English)" Example: "AnimePahe 13.19 (English)"
validations: validations:
required: true required: true
@ -48,13 +47,13 @@ body:
required: true required: true
- type: input - type: input
id: tachiyomi-version id: aniyomi-version
attributes: attributes:
label: Aniyomi version label: Aniyomi version
description: | description: |
You can find your Aniyomi version in **More → About**. You can find your Aniyomi version in **More → About**.
placeholder: | placeholder: |
Example: "0.13.5" Example: "0.12.3.10" or "Beta r6080"
validations: validations:
required: true required: true
@ -82,15 +81,15 @@ body:
label: Acknowledgements label: Acknowledgements
description: Your issue will be closed if you haven't done these steps. description: Your issue will be closed if you haven't done these steps.
options: options:
- label: I have searched the existing issues and this is a new ticket, **NOT** a duplicate or related to another open issue. - label: I have searched the existing issues and this is a new ticket, **NOT** a duplicate or related to another open or closed issue.
required: true required: true
- label: I have written a short but informative title. - label: I have written a short but informative title.
required: true required: true
- label: I have updated the app to version **[0.13.5](https://github.com/jmir1/aniyomi/releases/latest)**. - label: I have updated the app to version **[0.12.3.10](https://github.com/jmir1/aniyomi/releases/latest)**
required: true required: true
- label: I have updated all installed extensions. - label: I have updated all installed extensions.
required: true required: true
- label: I have tried the [troubleshooting guide](https://aniyomi.jmir.xyz/help/guides/troubleshooting/). - label: I have tried the [troubleshooting guide](https://aniyomi.org/help/guides/troubleshooting/).
required: true required: true
- label: If this is an issue with the app itself, I should be opening an issue in the [app repository](https://github.com/jmir1/aniyomi/issues/new/choose). - label: If this is an issue with the app itself, I should be opening an issue in the [app repository](https://github.com/jmir1/aniyomi/issues/new/choose).
required: true required: true

View file

@ -0,0 +1,47 @@
name: 🔗 URL change report
description: Report a URL change for an existing source
labels: [Bug,Domain changed]
body:
- type: input
id: source
attributes:
label: Source information and language
description: |
You can find the extension name and version in **Browse → Extensions**.
placeholder: |
Example: "NotRealSource 13.1 (English)"
validations:
required: true
- type: input
id: link
attributes:
label: Source new URL
placeholder: |
Example: "https://notrealsource.org"
validations:
required: true
- type: textarea
id: other-details
attributes:
label: Other details
placeholder: |
Additional details and attachments.
- type: checkboxes
id: acknowledgements
attributes:
label: Acknowledgements
description: Your issue will be closed if you haven't done these steps.
options:
- label: I have searched the existing issues and this is a new ticket, **NOT** a duplicate or related to another open or closed issue.
required: true
- label: I have written a short but informative title.
required: true
- label: I have updated all installed extensions.
required: true
- label: I have checked if the source URL is not already updated by opening WebView.
required: true
- label: I will fill out all of the requested information in this form.
required: true

View file

@ -1,8 +1,7 @@
name: ⭐ Feature request name: ⭐ Feature request
description: Suggest a feature to improve a source description: Suggest a feature to improve an existing source
labels: [Feature request] labels: [Feature request]
body: body:
- type: input - type: input
id: source id: source
attributes: attributes:
@ -10,7 +9,7 @@ body:
description: | description: |
You can find the extension name in **Browse → Extensions**. You can find the extension name in **Browse → Extensions**.
placeholder: | placeholder: |
Example: "Mangahere (English)" Example: "DopeBox (English)"
validations: validations:
required: true required: true
@ -38,7 +37,7 @@ body:
label: Acknowledgements label: Acknowledgements
description: Your issue will be closed if you haven't done these steps. description: Your issue will be closed if you haven't done these steps.
options: options:
- label: I have searched the existing issues and this is a new ticket, **NOT** a duplicate or related to another open issue. - label: I have searched the existing issues and this is a new ticket, **NOT** a duplicate or related to another open or closed issue.
required: true required: true
- label: I have written a short but informative title. - label: I have written a short but informative title.
required: true required: true

View file

@ -2,13 +2,12 @@ name: 🌐 Source request
description: Suggest a new source for Aniyomi description: Suggest a new source for Aniyomi
labels: [Source request] labels: [Source request]
body: body:
- type: input - type: input
id: name id: name
attributes: attributes:
label: Source name label: Source name
placeholder: | placeholder: |
Example: "Not Real Scans" Example: "Not Real Source"
validations: validations:
required: true required: true
@ -17,7 +16,7 @@ body:
attributes: attributes:
label: Source link label: Source link
placeholder: | placeholder: |
Example: "https://notrealscans.org" Example: "https://notrealsource.org"
validations: validations:
required: true required: true
@ -36,6 +35,7 @@ body:
label: Other details label: Other details
placeholder: | placeholder: |
Additional details and attachments. Additional details and attachments.
Example: "+18/NSFW = yes"
- type: checkboxes - type: checkboxes
id: acknowledgements id: acknowledgements
@ -43,11 +43,11 @@ body:
label: Acknowledgements label: Acknowledgements
description: Your issue will be closed if you haven't done these steps. description: Your issue will be closed if you haven't done these steps.
options: options:
- label: I have searched the existing issues and this is a new ticket, **NOT** a duplicate or related to another open issue. - label: I have searched the existing issues and this is a new ticket, **NOT** a duplicate or related to another open or closed issue.
required: true required: true
- label: I have written a title with source name. - label: I have written a title with source name.
required: true required: true
- label: I have checked that the extension does not already exist on the [website extensions list](https://aniyomi.jmir.xyz/extensions/) or the app. - label: I have checked that the extension does not already exist on the [website extensions list](https://aniyomi.org/extensions/) or the app.
required: true required: true
- label: I have checked that the extension does not already exist by searching the [GitHub repository](https://github.com/jmir1/aniyomi-extensions/) and verified it does not appear in the code base. - label: I have checked that the extension does not already exist by searching the [GitHub repository](https://github.com/jmir1/aniyomi-extensions/) and verified it does not appear in the code base.
required: true required: true

View file

@ -1,45 +0,0 @@
---
name: "🐞 Bug report"
title: "[Bug] <Source Name>: <short description>"
about: "Report a bug"
labels: "bug"
---
**PLEASE READ THIS**
I acknowledge that:
- I have updated:
- To the latest version of the app (stable is v0.10.12)
- All extensions
- I have tried the troubleshooting guide: https://aniyomi.jmir.xyz/help/guides/troubleshooting-problems/
- If this is an issue with the app itself, that I should be opening an issue in https://github.com/jmir1/aniyomi
- I have searched the existing issues and this is new ticket **NOT** a duplicate or related to another open issue
- For source requests, I have checked the list of existing extensions including the multi-source spreadsheet: https://aniyomi.jmir.xyz/extensions/
- I will fill out the title and the information in this template
Note that the issue will be automatically closed if you do not fill out the title or requested information.
**DELETE THIS SECTION IF YOU HAVE READ AND ACKNOWLEDGED IT**
---
## Device information
- Aniyomi version: ?
- Android version: ?
## Source information
- Name: ?
- Extension version: ?
## Steps to reproduce
1. First Step
2. Second Step
### Expected behavior
Describe what should have happened
### Actual behavior
Describe what happens instead
## Other details

View file

@ -1,30 +0,0 @@
---
name: "🌐 Source Request"
title: "[Source Request] <Source Name>"
about: "Suggest a new source for Aniyomi"
labels: "Source Request"
---
**PLEASE READ THIS**
I acknowledge that:
- I have checked that the extension does not already exist:
- In the list of existing extensions in the application
- In the multi-source spreadsheet: https://aniyomi.jmir.xyz/extensions
- By searching the GitHub repository for the extension and verify it does not appear in the code base
- I have searched the existing GitHub issues and this extension does **NOT** have an open request
- I will fill out the title and the information in this template
Note that the issue will be automatically closed if you do not fill out the title or requested information.
**DELETE THIS SECTION IF YOU HAVE READ AND ACKNOWLEDGED IT**
---
## Source website
- Name: ?
- Link: ?
- Language(s): ?
## Other details

View file

@ -12,7 +12,7 @@ jobs:
stale: stale:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/stale@v5.1.0 - uses: actions/stale@v7
with: with:
repo-token: ${{ secrets.GITHUB_TOKEN }} repo-token: ${{ secrets.GITHUB_TOKEN }}
# Close everything older than ~6 months # Close everything older than ~6 months

View file

@ -5,6 +5,10 @@ on:
paths-ignore: paths-ignore:
- '**.md' - '**.md'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
cancel-in-progress: true
env: env:
CI_CHUNK_SIZE: 65 CI_CHUNK_SIZE: 65
@ -34,7 +38,7 @@ jobs:
- id: get-changed-files - id: get-changed-files
name: Get changed files name: Get changed files
uses: Ana06/get-changed-files@v2.1.0 uses: Ana06/get-changed-files@v2.2.0
- id: parse-changed-files - id: parse-changed-files
name: Parse changed files name: Parse changed files

View file

@ -7,6 +7,10 @@ on:
paths-ignore: paths-ignore:
- '**.md' - '**.md'
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
env: env:
CI_CHUNK_SIZE: 65 CI_CHUNK_SIZE: 65
@ -20,20 +24,12 @@ jobs:
env: env:
CI_MODULE_GEN: true CI_MODULE_GEN: true
steps: steps:
- name: Cancel previous runs
uses: styfle/cancel-workflow-action@0.9.1
with:
access_token: ${{ github.token }}
all_but_latest: true
- name: Clone repo - name: Clone repo
uses: actions/checkout@v3 uses: actions/checkout@v3
with:
ref: master
- name: Find lib changes - name: Find lib changes
id: modified-libs id: modified-libs
uses: tj-actions/changed-files@v32 uses: tj-actions/changed-files@v35
with: with:
files: lib/** files: lib/**
files_ignore: lib/**.md files_ignore: lib/**.md
@ -144,8 +140,6 @@ jobs:
steps: steps:
- name: Checkout master branch - name: Checkout master branch
uses: actions/checkout@v3 uses: actions/checkout@v3
with:
ref: master
- name: Set up JDK - name: Set up JDK
uses: actions/setup-java@v3 uses: actions/setup-java@v3
@ -169,7 +163,7 @@ jobs:
arguments: assembleRelease arguments: assembleRelease
- name: Upload APKs (chunk ${{ matrix.chunk }}) - name: Upload APKs (chunk ${{ matrix.chunk }})
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
if: "github.repository == 'jmir1/aniyomi-extensions'" if: "github.repository == 'jmir1/aniyomi-extensions'"
with: with:
name: "individual-apks-${{ matrix.chunk }}" name: "individual-apks-${{ matrix.chunk }}"
@ -187,7 +181,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Download APK artifacts - name: Download APK artifacts
uses: actions/download-artifact@v2 uses: actions/download-artifact@v3
with: with:
path: ~/apk-artifacts path: ~/apk-artifacts

View file

@ -1,16 +0,0 @@
name: Cancel old pull request workflows
on:
workflow_run:
workflows: ["PR build check"]
types:
- requested
jobs:
cancel:
runs-on: ubuntu-latest
steps:
- uses: styfle/cancel-workflow-action@0.9.1
with:
workflow_id: ${{ github.event.workflow.id }}
all_but_latest: true

View file

@ -1,33 +0,0 @@
name: Issue closer
on:
issues:
types: [opened, edited, reopened]
jobs:
autoclose:
runs-on: ubuntu-latest
steps:
- name: Autoclose issues
uses: arkon/issue-closer-action@v3.4
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
ignoreLabel: do-not-autoclose
rules: |
[
{
"type": "title",
"regex": ".*<(Source Name|short description)>*",
"message": "You did not fill out the description in the title"
},
{
"type": "body",
"regex": ".*DELETE THIS SECTION IF YOU HAVE READ AND ACKNOWLEDGED IT.*",
"message": "The acknowledgment section was not removed"
},
{
"type": "body",
"regex": ".*\\* (Aniyomi version|Android version|Device|Name|Link|Extension version): \\?.*",
"message": "The requested information was not filled out"
}
]

View file

@ -16,6 +16,8 @@ jobs:
repo-token: ${{ secrets.GITHUB_TOKEN }} repo-token: ${{ secrets.GITHUB_TOKEN }}
duplicate-check-enabled: true duplicate-check-enabled: true
duplicate-check-label: Source request duplicate-check-label: Source request
existing-check-enabled: true
existing-check-label: Source request
auto-close-rules: | auto-close-rules: |
[ [
{ {
@ -31,7 +33,13 @@ jobs:
{ {
"type": "title", "type": "title",
"regex": ".*(Source name|Short description).*", "regex": ".*(Source name|Short description).*",
"message": "You did not fill out the description in the title" "message": "You did not fill out the description in the title."
},
{
"type": "both",
"regex": ".*(?:fail(?:ed|ure)?|can\\s*(?:no|')?t|unable|get past|(?<!n[o']?t )blocked by|error) (?:to )?(?:bypass|penetrate)?.*cloudfl?are.*",
"ignoreCase": true,
"message": "Refer to the **Solving Cloudflare issues** section at https://aniyomi.org/help/guides/troubleshooting/#solving-cloudflare-issues. If it doesn't work, migrate to other sources or wait until they lower their protection."
} }
] ]
auto-close-ignore-label: do-not-autoclose auto-close-ignore-label: do-not-autoclose

View file

@ -12,8 +12,8 @@ jobs:
lock: lock:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: dessant/lock-threads@v2 - uses: dessant/lock-threads@v4
with: with:
github-token: ${{ github.token }} github-token: ${{ github.token }}
issue-lock-inactive-days: '2' issue-inactive-days: '2'
pr-lock-inactive-days: '2' pr-inactive-days: '2'

View file

@ -13,7 +13,7 @@ Extension sources can be downloaded, installed, and uninstalled via the main Ani
## Downloads ## Downloads
If you prefer to directly download the APK files, they are available via https://aniyomi.jmir.xyz/extensions/ or directly in this GitHub repository in the [`repo` branch](https://github.com/jmir1/aniyomi-extensions/tree/repo/apk). If you prefer to directly download the APK files, they are available via https://aniyomi.org/extensions/ or directly in this GitHub repository in the [`repo` branch](https://github.com/jmir1/aniyomi-extensions/tree/repo/apk).
# Requests # Requests