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