diff --git a/.github/workflows/build_pull_request.yml b/.github/workflows/build_pull_request.yml deleted file mode 100644 index f4e907348..000000000 --- a/.github/workflows/build_pull_request.yml +++ /dev/null @@ -1,71 +0,0 @@ -name: PR check - -on: - pull_request: - paths: - - '**' - - '!**.md' - - '!.github/**' - - '.github/workflows/build_pull_request.yml' - -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number }} - cancel-in-progress: true - -env: - CI_CHUNK_SIZE: 65 - IS_PR_CHECK: true - -jobs: - prepare: - name: Prepare job - runs-on: 'ubuntu-24.04' - outputs: - matrix: ${{ steps.generate-matrices.outputs.matrix }} - delete: ${{ steps.generate-matrices.outputs.delete }} - steps: - - name: Checkout PR - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - - - name: Set up Java - uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # v4.7.0 - with: - java-version: 17 - distribution: temurin - - - name: Set up Gradle - uses: gradle/actions/setup-gradle@94baf225fe0a508e581a564467443d0e2379123b # v4.3.0 - with: - cache-read-only: true - - - id: generate-matrices - name: Generate build matrices - run: | - git fetch origin main - python ./.github/scripts/generate-build-matrices.py origin/main Debug - - build: - name: Build extensions (${{ matrix.chunk.number }}) - needs: prepare - runs-on: 'ubuntu-24.04' - if: ${{ toJson(fromJson(needs.prepare.outputs.matrix).chunk) != '[]' }} - strategy: - matrix: ${{ fromJSON(needs.prepare.outputs.matrix) }} - steps: - - name: Checkout PR - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - - - name: Set up Java - uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # v4.7.0 - with: - java-version: 17 - distribution: temurin - - - name: Set up Gradle - uses: gradle/actions/setup-gradle@94baf225fe0a508e581a564467443d0e2379123b # v4.3.0 - with: - cache-read-only: true - - - name: Build extensions (${{ matrix.chunk.number }}) - run: | - ./gradlew $(echo '${{ toJson(matrix.chunk.modules) }}' | jq -r 'join(" ")') diff --git a/.github/workflows/codeberg_mirror.yml b/.github/workflows/codeberg_mirror.yml deleted file mode 100644 index 6269f3ac9..000000000 --- a/.github/workflows/codeberg_mirror.yml +++ /dev/null @@ -1,22 +0,0 @@ -# Sync repo to the Codeberg mirror -name: Mirror Sync - -on: - push: - branches: [ "main" ] - workflow_dispatch: # Manual dispatch - schedule: - - cron: "0 */8 * * *" - -jobs: - codeberg: - if: "github.repository == 'keiyoushi/extensions-source'" - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - with: - fetch-depth: 0 - - uses: pixta-dev/repository-mirroring-action@674e65a7d483ca28dafaacba0d07351bdcc8bd75 # v1.1.1 - with: - target_repo_url: "git@codeberg.org:keiyoushi/extensions-source.git" - ssh_private_key: ${{ secrets.CODEBERG_SSH }} diff --git a/.github/workflows/issue_moderator.yml b/.github/workflows/issue_moderator.yml deleted file mode 100644 index a53e14963..000000000 --- a/.github/workflows/issue_moderator.yml +++ /dev/null @@ -1,71 +0,0 @@ -name: Issue moderator - -on: - issues: - types: [ opened, edited, reopened ] - issue_comment: - types: [ created ] - -jobs: - autoclose: - runs-on: ubuntu-latest - steps: - - name: Moderate issues - uses: keiyoushi/issue-moderator-action@a017be83547db6e107431ce7575f53c1dfa3296a - with: - repo-token: ${{ secrets.ISSUE_MODERATOR_PAT }} - duplicate-label: Duplicate - - blurbs: | - [ - { - "keywords": ["cf", "cloudflare"], - "message": "Refer to the **Solving Cloudflare issues** section at https://keiyoushi.github.io/docs/guides/troubleshooting#cloudflare. If it doesn't work, migrate to other sources or wait until they lower their protection." - }, - { - "keywords": ["uninstall"], - "message": "Uninstall the extension before updating. If that does not work, uninstall it from your device's settings by navigating to your device's Settings -> Apps and uninstall it from there by looking for `Tachiyomi: `.\n\nThis is usually caused your previous extension having a different signature from the updated extension, making Android refuse to update it." - } - ] - - duplicate-check-enabled: true - duplicate-check-labels: | - ["Source request", "Domain changed"] - - existing-check-enabled: true - existing-check-labels: | - ["Source request", "Domain changed"] - existing-check-repo-url: https://raw.githubusercontent.com/keiyoushi/extensions/repo/index.min.json - - auto-close-rules: | - [ - { - "type": "both", - "regex": ".*(?:fail(?:ed|ure|s)?|can\\s*(?:no|')?t|(?:not|un).*able|(?