From 1bf789a91df7bdb520514e405b6c71df4cf7d78c Mon Sep 17 00:00:00 2001 From: Claudemirovsky <63046606+Claudemirovsky@users.noreply.github.com> Date: Fri, 1 Dec 2023 07:22:56 -0300 Subject: [PATCH] [skip ci] chore(ci): Update actions dependencies (#2591) --- .github/ISSUE_TEMPLATE/01_report_issue.yml | 10 ++++----- .github/pull_request_template.md | 2 +- .github/workflows/build_pull_request.yml | 14 ++++++------ .github/workflows/build_push.yml | 26 +++++++++++----------- .github/workflows/lock.yml | 3 ++- 5 files changed, 28 insertions(+), 27 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/01_report_issue.yml b/.github/ISSUE_TEMPLATE/01_report_issue.yml index 5582f73b03..426e4f4ded 100644 --- a/.github/ISSUE_TEMPLATE/01_report_issue.yml +++ b/.github/ISSUE_TEMPLATE/01_report_issue.yml @@ -27,12 +27,12 @@ body: id: reproduce-steps attributes: label: Steps to reproduce - description: Provide an example of the issue. + description: Provide an example of the issue. Be as specific as possible. placeholder: | Example: - 1. First step - 2. Second step - 3. Issue here + 1. First step (e.g. "Open Mahouka Koukou No Rettousei (first season)") + 2. Second step (e.g. "Try to watch episode 15") + 3. Issue here (e.g. "It shows a HTTP 403 error toast") validations: required: true @@ -63,7 +63,7 @@ body: description: | You can find your Aniyomi version in **More → About**. placeholder: | - Example: "0.12.3.10" or "Preview r6151" + Example: "0.12.3.10" or "Preview r6691" validations: required: true diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 5e2efbb8fd..d15ddf2804 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -3,7 +3,7 @@ Checklist: - [ ] Updated `extVersionCode` value in `build.gradle` for individual extensions - [ ] Updated `overrideVersionCode` or `baseVersionCode` as needed for all multisrc extensions - [ ] Referenced all related issues in the PR body (e.g. "Closes #xyz") -- [ ] Added the `isNsfw = true` flag in `build.gradle` when appropriate +- [ ] Added the `containsNsfw = true` flag in `build.gradle` when appropriate - [ ] Have not changed source names - [ ] Have explicitly kept the `id` if a source's name or language were changed - [ ] Have tested the modifications by compiling and running the extension through Android Studio diff --git a/.github/workflows/build_pull_request.yml b/.github/workflows/build_pull_request.yml index f285dfd612..3efb5344f2 100644 --- a/.github/workflows/build_pull_request.yml +++ b/.github/workflows/build_pull_request.yml @@ -26,13 +26,13 @@ jobs: CI_MODULE_GEN: true steps: - name: Clone repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Validate Gradle Wrapper uses: gradle/wrapper-validation-action@v1 - name: Set up JDK - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: 17 distribution: adopt @@ -80,7 +80,7 @@ jobs: - id: generate-matrices name: Create output matrices - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: script: | const numIndividualModules = process.env.NUM_INDIVIDUAL_MODULES; @@ -105,10 +105,10 @@ jobs: matrix: ${{ fromJSON(needs.prepare.outputs.multisrcMatrix) }} steps: - name: Checkout PR - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up JDK - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: 17 distribution: adopt @@ -139,10 +139,10 @@ jobs: matrix: ${{ fromJSON(needs.prepare.outputs.individualMatrix) }} steps: - name: Checkout PR - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up JDK - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: 17 distribution: adopt diff --git a/.github/workflows/build_push.yml b/.github/workflows/build_push.yml index 79568a559f..1194a9b495 100644 --- a/.github/workflows/build_push.yml +++ b/.github/workflows/build_push.yml @@ -26,14 +26,14 @@ jobs: CI_MODULE_GEN: true steps: - name: Clone repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: master token: ${{ secrets.ANIYOMIORG_BOT_PAT }} - name: Find lib changes id: modified-libs - uses: tj-actions/changed-files@v36 + uses: tj-actions/changed-files@v40 with: files: lib/** files_ignore: lib/**.md @@ -41,7 +41,7 @@ jobs: # This step is going to commit, but this will not trigger another workflow. - name: Import GPG key - uses: crazy-max/ghaction-import-gpg@v5 + uses: crazy-max/ghaction-import-gpg@v6 with: gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} passphrase: ${{ secrets.GPG_PASSPHRASE }} @@ -57,7 +57,7 @@ jobs: uses: gradle/wrapper-validation-action@v1 - name: Set up JDK - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: 17 distribution: adopt @@ -77,7 +77,7 @@ jobs: - id: generate-matrices name: Create output matrices - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: script: | const numIndividualModules = process.env.NUM_INDIVIDUAL_MODULES; @@ -101,12 +101,12 @@ jobs: matrix: ${{ fromJSON(needs.prepare.outputs.multisrcMatrix) }} steps: - name: Checkout master branch - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: master - name: Set up JDK - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: 17 distribution: adopt @@ -152,12 +152,12 @@ jobs: matrix: ${{ fromJSON(needs.prepare.outputs.individualMatrix) }} steps: - name: Checkout master branch - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: master - name: Set up JDK - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: 17 distribution: adopt @@ -202,13 +202,13 @@ jobs: path: ~/apk-artifacts - name: Set up JDK - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: 17 distribution: adopt - name: Checkout master branch - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: master path: master @@ -223,14 +223,14 @@ jobs: ./.github/scripts/create-repo.sh - name: Checkout repo branch - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: repo path: repo token: ${{ secrets.ANIYOMIORG_BOT_PAT }} - name: Import GPG key - uses: crazy-max/ghaction-import-gpg@v5 + uses: crazy-max/ghaction-import-gpg@v6 with: gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} passphrase: ${{ secrets.GPG_PASSPHRASE }} diff --git a/.github/workflows/lock.yml b/.github/workflows/lock.yml index 7ac2415c38..3379bd6726 100644 --- a/.github/workflows/lock.yml +++ b/.github/workflows/lock.yml @@ -14,8 +14,9 @@ jobs: permissions: issues: write steps: - - uses: dessant/lock-threads@v4 + - uses: dessant/lock-threads@v5 with: github-token: ${{ github.token }} issue-inactive-days: '2' pr-inactive-days: '2' + process-only: 'issues, prs'