From b0cb173830d2ea30954cdc3eb75c24c95b156dcf Mon Sep 17 00:00:00 2001 From: Anarios Date: Tue, 26 Jul 2022 00:05:20 +0200 Subject: Fixes after merges, prettier globally applied --- .github/ISSUE_TEMPLATE/bug.yml | 122 ++++++++++++++--------------- .github/ISSUE_TEMPLATE/feature-request.yml | 67 ++++++++-------- .github/workflows/commentCommands.yml | 5 +- .github/workflows/weblint.yml | 15 ++-- 4 files changed, 102 insertions(+), 107 deletions(-) (limited to '.github') diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml index 177632e..efacc6d 100644 --- a/.github/ISSUE_TEMPLATE/bug.yml +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -3,65 +3,63 @@ description: File a bug report! # title: "(Bug): " labels: ["bug"] body: -- type: input - attributes: - label: Browser - description: Which browser are you using? - placeholder: "Example: Google Chrome" - validations: - required: true -- type: input - attributes: - label: Browser Version - description: Which browser version are you using? - placeholder: "Example: Chromium v95" - validations: - required: true -- type: dropdown - attributes: - label: "Extension or Userscript?" - options: - - Extension - - Userscript - validations: - required: true -- type: input - attributes: - label: Extension/Userscript Version - description: Which extension/userscript version are you using? - placeholder: "Example: Version 0.0.0.1" - validations: - required: true -- type: input - attributes: - label: Video link where you see the problem - description: Video link where you see the problem - placeholder: "Example: https://www.youtube.com/watch?v=s4-gMgdsnHQ" - validations: - required: true -- type: textarea - attributes: - label: What happened? - description: Also tell us, what did you expect to happen? - placeholder: Tell us what you see! - value: "A bug happened!" - validations: - required: true -- type: textarea - attributes: - label: How to reproduce/recreate? - description: Detailed steps to reproduce/recreate it. - placeholder: "We need to be able to reproduce/recreate that bug/event in order to fix it. Please write the steps in detail." - value: "Tell us how it happened with detailed steps for us." - validations: - required: true -- type: dropdown - attributes: - label: "Will you be available for follow-up questions to help developers diagnose & fix the issue?" - options: - - "Yes" - - "No" - validations: - required: true - - + - type: input + attributes: + label: Browser + description: Which browser are you using? + placeholder: "Example: Google Chrome" + validations: + required: true + - type: input + attributes: + label: Browser Version + description: Which browser version are you using? + placeholder: "Example: Chromium v95" + validations: + required: true + - type: dropdown + attributes: + label: "Extension or Userscript?" + options: + - Extension + - Userscript + validations: + required: true + - type: input + attributes: + label: Extension/Userscript Version + description: Which extension/userscript version are you using? + placeholder: "Example: Version 0.0.0.1" + validations: + required: true + - type: input + attributes: + label: Video link where you see the problem + description: Video link where you see the problem + placeholder: "Example: https://www.youtube.com/watch?v=s4-gMgdsnHQ" + validations: + required: true + - type: textarea + attributes: + label: What happened? + description: Also tell us, what did you expect to happen? + placeholder: Tell us what you see! + value: "A bug happened!" + validations: + required: true + - type: textarea + attributes: + label: How to reproduce/recreate? + description: Detailed steps to reproduce/recreate it. + placeholder: "We need to be able to reproduce/recreate that bug/event in order to fix it. Please write the steps in detail." + value: "Tell us how it happened with detailed steps for us." + validations: + required: true + - type: dropdown + attributes: + label: "Will you be available for follow-up questions to help developers diagnose & fix the issue?" + options: + - "Yes" + - "No" + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml index 123d9d0..1328e56 100644 --- a/.github/ISSUE_TEMPLATE/feature-request.yml +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -3,37 +3,36 @@ description: Request or suggest a new feature! # title: "(Feature Request): " labels: ["enhancement"] body: -- type: dropdown - attributes: - label: Extension or Userscript? - options: - - Extension - - Userscript - - Both - validations: - required: true -- type: textarea - attributes: - label: Request or suggest a new feature! - placeholder: I want to suggest... - validations: - required: true -- type: textarea - attributes: - label: Ways to implement this! - placeholder: We can implement it by... -- type: checkboxes - attributes: - label: Can you work on this? - options: - - label: "Yes" - - label: "No" -- type: dropdown - attributes: - label: "Will you be available for follow-up questions to help developers implement this?" - options: - - "Yes" - - "No" - validations: - required: true - + - type: dropdown + attributes: + label: Extension or Userscript? + options: + - Extension + - Userscript + - Both + validations: + required: true + - type: textarea + attributes: + label: Request or suggest a new feature! + placeholder: I want to suggest... + validations: + required: true + - type: textarea + attributes: + label: Ways to implement this! + placeholder: We can implement it by... + - type: checkboxes + attributes: + label: Can you work on this? + options: + - label: "Yes" + - label: "No" + - type: dropdown + attributes: + label: "Will you be available for follow-up questions to help developers implement this?" + options: + - "Yes" + - "No" + validations: + required: true diff --git a/.github/workflows/commentCommands.yml b/.github/workflows/commentCommands.yml index fbf4aad..1d9b47c 100644 --- a/.github/workflows/commentCommands.yml +++ b/.github/workflows/commentCommands.yml @@ -3,9 +3,8 @@ name: commentCommands on: issue_comment: types: created - -jobs: +jobs: assign-commenter: runs-on: ubuntu-latest if: | @@ -35,7 +34,7 @@ jobs: -H "Accept: application/vnd.github+json" \ -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.issue.number }}/comments \ - -d '{"body":"This issue is put on hold due to low quality. No reviews or fixes will be performed at this time. Eventually, it will be closed. While we appreciate your effort writing, we are not able to further investigate it. Please improve it by writing a better title or providing more details, and you may re-open it."}' + -d '{"body":"This issue is put on hold due to low quality. No reviews or fixes will be performed at this time. Eventually, it will be closed. While we appreciate your effort writing, we are not able to further investigate it. Please improve it by writing a better title or providing more details, and you may re-open it."}' add-label-duplicate: runs-on: ubuntu-latest if: | diff --git a/.github/workflows/weblint.yml b/.github/workflows/weblint.yml index 84fd10c..3ca18a3 100644 --- a/.github/workflows/weblint.yml +++ b/.github/workflows/weblint.yml @@ -4,23 +4,22 @@ name: Website Lint on: push: - branches: [ main ] + branches: [main] paths: - Website/** pull_request: - branches: [ main ] + branches: [main] paths: - Website/** jobs: weblint: - runs-on: ubuntu-latest steps: - - uses: actions/checkout@main - - run: npm install - working-directory: Website - - run: npm run lint - working-directory: Website + - uses: actions/checkout@main + - run: npm install + working-directory: Website + - run: npm run lint + working-directory: Website -- cgit v1.2.3