From 2760519a04393111461b76ecd96a9c44ef6e1b9f Mon Sep 17 00:00:00 2001 From: alyenc Date: Mon, 20 Jan 2025 22:25:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/FUNDING.yml | 1 - .github/ISSUE_TEMPLATE/bug-report.yml | 47 --------------------------- .github/ISSUE_TEMPLATE/config.yml | 8 ----- .github/ISSUE_TEMPLATE/i18n-issue.yml | 45 ------------------------- .github/dependabot.yml | 26 --------------- .github/labeller.yml | 7 ---- .github/pull_request_template.md | 2 -- .github/workflows/build-theme.yml | 25 -------------- .github/workflows/gh-pages.yml | 36 -------------------- .github/workflows/label.yml | 18 ---------- .github/workflows/stale.yml | 30 ----------------- .github/workflows/test-build.yml | 25 -------------- 12 files changed, 270 deletions(-) delete mode 100644 .github/FUNDING.yml delete mode 100644 .github/ISSUE_TEMPLATE/bug-report.yml delete mode 100644 .github/ISSUE_TEMPLATE/config.yml delete mode 100644 .github/ISSUE_TEMPLATE/i18n-issue.yml delete mode 100644 .github/dependabot.yml delete mode 100644 .github/labeller.yml delete mode 100644 .github/pull_request_template.md delete mode 100644 .github/workflows/build-theme.yml delete mode 100644 .github/workflows/gh-pages.yml delete mode 100644 .github/workflows/label.yml delete mode 100644 .github/workflows/stale.yml delete mode 100644 .github/workflows/test-build.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml deleted file mode 100644 index 819db0c..0000000 --- a/.github/FUNDING.yml +++ /dev/null @@ -1 +0,0 @@ -github: jpanther diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml deleted file mode 100644 index 7961ec8..0000000 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ /dev/null @@ -1,47 +0,0 @@ -name: 🐛 Bug Report -description: Report a new problem encountered using the theme -labels: [bug] -body: - - type: markdown - attributes: - value: | - Thanks for taking the time to fill out this bug report! Before proceeding, please check that a similar issue has not already been reported. [View open issues](https://github.com/jpanther/lynx/issues) - - type: textarea - id: what-happened - attributes: - label: What happened? - description: Describe the issue and how to reproduce it, including what you expected to happen. - validations: - required: true - - type: input - id: theme-version - attributes: - label: Theme version - description: What version of the theme are you using? - placeholder: eg. v1.1.0 - validations: - required: true - - type: input - id: hugo-version - attributes: - label: Hugo version - description: What version of Hugo are you using? - placeholder: eg. v0.86.1 - validations: - required: true - - type: dropdown - id: browsers - attributes: - label: What browsers are you seeing the problem on? - multiple: true - options: - - Firefox - - Chrome - - Safari - - Microsoft Edge - - type: textarea - id: logs - attributes: - label: Relevant Hugo log output - description: Please copy and paste any relevant Hugo log output. This will be automatically formatted into code, so no need for backticks. - render: shell diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml deleted file mode 100644 index e003b13..0000000 --- a/.github/ISSUE_TEMPLATE/config.yml +++ /dev/null @@ -1,8 +0,0 @@ -blank_issues_enabled: true -contact_links: - - name: 💡 Feature Request - url: https://github.com/jpanther/lynx/discussions - about: Request and discuss enhancements using GitHub Discussions - - name: 🙋‍♀️ Question - url: https://github.com/jpanther/lynx/discussions - about: Please ask and answer general questions using GitHub Discussions diff --git a/.github/ISSUE_TEMPLATE/i18n-issue.yml b/.github/ISSUE_TEMPLATE/i18n-issue.yml deleted file mode 100644 index 1a4dd5e..0000000 --- a/.github/ISSUE_TEMPLATE/i18n-issue.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: 💬 i18n Issue -description: Report an issue with i18n or translations -labels: [i18n] -body: - - type: markdown - attributes: - value: | - Thanks for taking the time to fill out this issue report! - - type: input - id: language - attributes: - label: Language - description: Which language are you using? - placeholder: eg. English - validations: - required: true - - type: textarea - id: issue - attributes: - label: What's the issue? - description: Describe the translation issue and how to reproduce it. - validations: - required: true - - type: input - id: theme-version - attributes: - label: Theme version - description: What version of the theme are you using? - placeholder: eg. v1.1.0 - validations: - required: true - - type: input - id: hugo-version - attributes: - label: Hugo version - description: What version of Hugo are you using? - placeholder: eg. v0.86.1 - validations: - required: true - - type: textarea - id: logs - attributes: - label: Relevant Hugo log output - description: Please copy and paste any relevant Hugo log output. This will be automatically formatted into code, so no need for backticks. - render: shell diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 3d12432..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,26 +0,0 @@ -# GitHub Dependabot -# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates - -version: 2 -updates: - - package-ecosystem: "npm" - directory: "/" - schedule: - interval: "daily" - time: "09:00" - timezone: "Australia/Melbourne" - commit-message: - prefix: "📌" - labels: - - "dependencies" - - package-ecosystem: "github-actions" - directory: "/" - schedule: - interval: "weekly" - day: "sunday" - time: "09:00" - timezone: "Australia/Melbourne" - commit-message: - prefix: "👷" - labels: - - "dependencies" diff --git a/.github/labeller.yml b/.github/labeller.yml deleted file mode 100644 index eb89017..0000000 --- a/.github/labeller.yml +++ /dev/null @@ -1,7 +0,0 @@ -i18n: - - changed-files: - - any-glob-to-any-file: i18n/* - -documentation: - - changed-files: - - any-glob-to-any-file: ["*.md", "exampleSite/content/*"] diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md deleted file mode 100644 index c3b28d0..0000000 --- a/.github/pull_request_template.md +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/.github/workflows/build-theme.yml b/.github/workflows/build-theme.yml deleted file mode 100644 index 0d1786d..0000000 --- a/.github/workflows/build-theme.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: Build Theme - -on: [pull_request_target] - -jobs: - build: - runs-on: ubuntu-latest - if: ${{ github.actor == 'dependabot[bot]' }} - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - ref: "${{ github.head_ref }}" - - name: Install dependencies and Build Theme - uses: actions/setup-node@v4 - - run: npm install - - run: npm run build - - name: Commit CSS changes - uses: stefanzweifel/git-auto-commit-action@v5 - with: - branch: "${{ github.head_ref }}" - push_options: "--dry-run" - file_pattern: "assets/css/compiled/main.css" - commit_message: "💄 Rebuild CSS" - - run: git push diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml deleted file mode 100644 index 89eb091..0000000 --- a/.github/workflows/gh-pages.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: GitHub Pages - -on: - push: - branches: - - stable - -jobs: - build-deploy: - name: Build and Deploy - runs-on: ubuntu-20.04 - concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - submodules: true - fetch-depth: 0 - - - name: Setup Hugo - uses: peaceiris/actions-hugo@v3 - with: - hugo-version: "latest" - - - name: Build - working-directory: ./exampleSite - run: hugo --minify --themesDir ../.. --baseURL https://jpanther.github.io/lynx/ - - - name: Deploy - uses: peaceiris/actions-gh-pages@v4 - if: ${{ github.ref == 'refs/heads/stable' }} - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_branch: gh-pages - publish_dir: ./exampleSite/public diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml deleted file mode 100644 index c52986c..0000000 --- a/.github/workflows/label.yml +++ /dev/null @@ -1,18 +0,0 @@ -name: Labeller - -on: [pull_request_target] - -jobs: - label: - name: Label - runs-on: ubuntu-latest - permissions: - contents: read - pull-requests: write - - steps: - - name: Label - uses: actions/labeler@v5 - with: - repo-token: "${{ secrets.GITHUB_TOKEN }}" - configuration-path: .github/labeller.yml diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml deleted file mode 100644 index efbadb2..0000000 --- a/.github/workflows/stale.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: "Close stale issues and PRs" -on: - schedule: - - cron: "30 1 * * *" - -jobs: - stale: - runs-on: ubuntu-latest - permissions: - issues: write - pull-requests: write - steps: - - uses: actions/stale@v9 - with: - days-before-stale: 30 - days-before-close: 14 - stale-issue-label: "stale" - stale-pr-label: "stale" - stale-issue-message: > - This issue has been automatically marked as stale because it has not had any recent activity. - - If you are still experiencing this issue, please review the issue history and add a reply with any requested and/or additional information in order to keep the issue open. - - This issue will automactically close in 14 days if no further activity occurs. - stale-pr-message: > - This pull request has been automatically marked as stale because it has not had any recent activity. - - Please review the PR history and add a reply with any requested information. If no information has been requested, it may be that this contribution does not fit with the project objectives, or does not adhere to the [contributing guidelines](https://github.com/jpanther/lynx/blob/dev/CONTRIBUTING.md). If this is in error, please add a reply with further details. - - This PR will automactically close in 14 days if no further activity occurs. diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml deleted file mode 100644 index 5230f64..0000000 --- a/.github/workflows/test-build.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: Test Build - -on: [push] - -jobs: - build: - name: Build Example Site - runs-on: ubuntu-20.04 - concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - submodules: true - fetch-depth: 0 - - - name: Setup Hugo - uses: peaceiris/actions-hugo@v3 - with: - hugo-version: "latest" - - - name: Build - working-directory: ./exampleSite - run: hugo --minify --themesDir ../.. --baseURL https://jpanther.github.io/lynx/