Skip to content

Commit

Permalink
Merge pull request #3992 from AnySoftKeyboard/bot-pr/github-actions-u…
Browse files Browse the repository at this point in the history
…pdate

Automated GitHub Actions Update
  • Loading branch information
menny committed Jun 9, 2024
2 parents b659bb3 + 44ba40e commit 4d09dc0
Show file tree
Hide file tree
Showing 9 changed files with 45 additions and 45 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/auto_approve.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
check-for-auto-approval:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4.1.1
- uses: actions/checkout@v4.1.6
- uses: ./.github/actions/auto_approval
with:
token: ${{ secrets.BOT_MASTER_RW_GITHUB_TOKEN }}
Expand Down
28 changes: 14 additions & 14 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ jobs:
js-checks:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4.1.1
- uses: actions/checkout@v4.1.6
with:
fetch-depth: 2
- uses: pnpm/action-setup@v3.0.0
- uses: pnpm/action-setup@v4.0.0
with:
version: 8.6.9
run_install: true
Expand All @@ -46,7 +46,7 @@ jobs:
container: ghcr.io/menny/android_ndk:1.20.0
timeout-minutes: 15
steps:
- uses: actions/checkout@v4.1.1
- uses: actions/checkout@v4.1.6
with:
fetch-depth: 2
- uses: actions/cache@v4.0.2
Expand All @@ -71,7 +71,7 @@ jobs:
with:
file_pattern: checkstyle*.html
output_folder: collected_reports/checkstyle
- uses: actions/upload-artifact@v4.3.2
- uses: actions/upload-artifact@v4.3.3
if: always()
continue-on-error: true
with:
Expand All @@ -83,7 +83,7 @@ jobs:
container: ghcr.io/menny/android_ndk:1.20.0
timeout-minutes: 20
steps:
- uses: actions/checkout@v4.1.1
- uses: actions/checkout@v4.1.6
with:
fetch-depth: 2
- uses: actions/cache@v4.0.2
Expand Down Expand Up @@ -123,7 +123,7 @@ jobs:
with:
file_pattern: java_*.hprof
output_folder: oom_dumps
- uses: actions/upload-artifact@v4.3.2
- uses: actions/upload-artifact@v4.3.3
if: always()
continue-on-error: true
with:
Expand Down Expand Up @@ -152,7 +152,7 @@ jobs:
tasks: "testAllAddOnsUnitTest"
actual_shard: app
steps:
- uses: actions/checkout@v4.1.1
- uses: actions/checkout@v4.1.6
with:
fetch-depth: 2
- uses: actions/cache@v4.0.2
Expand Down Expand Up @@ -180,13 +180,13 @@ jobs:
if: always()
with:
file_pattern: "**/build/reports/tests/**"
- uses: actions/upload-artifact@v4.3.2
- uses: actions/upload-artifact@v4.3.3
if: always()
continue-on-error: true
with:
name: tests-${{ matrix.shard_variant }}
path: collected_reports
- uses: actions/upload-artifact@v4.3.2
- uses: actions/upload-artifact@v4.3.3
if: always()
continue-on-error: true
with:
Expand All @@ -210,7 +210,7 @@ jobs:
supports_canary: true
supports_logo: false
steps:
- uses: actions/checkout@v4.1.1
- uses: actions/checkout@v4.1.6
with:
fetch-depth: 2
- uses: actions/cache@v4.0.2
Expand Down Expand Up @@ -259,7 +259,7 @@ jobs:
- name: fix-fs
if: always()
run: ./scripts/ci/ci_fix_fs.sh
- uses: actions/upload-artifact@v4.3.2
- uses: actions/upload-artifact@v4.3.3
continue-on-error: true
with:
name: fdroid-metadata-dry-run-${{ matrix.shard_type }}
Expand All @@ -278,7 +278,7 @@ jobs:
runs-on: ubuntu-22.04
container: ghcr.io/menny/android_base:1.20.0
steps:
- uses: actions/checkout@v4.1.1
- uses: actions/checkout@v4.1.6
with:
fetch-depth: 2
- uses: ./.github/actions/deploy-request
Expand All @@ -296,15 +296,15 @@ jobs:
runs-on: ubuntu-22.04
container: ghcr.io/menny/android_base:1.20.0
steps:
- uses: actions/checkout@v4.1.1
- uses: actions/checkout@v4.1.6
with:
token: ${{ secrets.BOT_MASTER_RW_GITHUB_TOKEN }}
fetch-depth: 0
ref: main
- name: create-merge-commit
run: ./scripts/ci/ci_merge_to_default_branch.sh ${{ github.ref }}
- name: Create pull request
uses: peter-evans/create-pull-request@v6.0.4
uses: peter-evans/create-pull-request@v6.0.5
with:
token: ${{ secrets.BOT_MASTER_RW_GITHUB_TOKEN }}
commit-message: 'Merge to default branch from ${{ github.ref_name }}.'
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
container: ghcr.io/menny/android_ndk:1.20.0
timeout-minutes: 40
steps:
- uses: actions/checkout@v4.1.1
- uses: actions/checkout@v4.1.6
with:
token: ${{ secrets.BOT_MASTER_RW_GITHUB_TOKEN }}
- uses: actions/checkout@v4.1.1
- uses: actions/checkout@v4.1.6
with:
repository: ${{ secrets.SECRETS_REPOSITORY }}
token: ${{ secrets.BOT_SECRETS_R_GITHUB_TOKEN }}
Expand All @@ -33,7 +33,7 @@ jobs:
mkdir -p outputs/bundle || true
mkdir -p outputs/fdroid || true
mkdir -p ime/app/build/outputs/mapping || true
- uses: actions/upload-artifact@v4.3.2
- uses: actions/upload-artifact@v4.3.3
with:
name: github_object
path: build/github_object
Expand Down Expand Up @@ -72,31 +72,31 @@ jobs:
-PrequestStatus.environment="${{ github.event.deployment.environment }}" \
-PrequestStatus.deployment_id="${{ github.event.deployment.id }}" \
-PrequestStatus.deployment_state="failure"
- uses: actions/upload-artifact@v4.3.2
- uses: actions/upload-artifact@v4.3.3
if: always()
continue-on-error: true
with:
name: deploy-logging
path: build/build-logging
- uses: actions/upload-artifact@v4.3.2
- uses: actions/upload-artifact@v4.3.3
if: always()
continue-on-error: true
with:
name: bundles
path: outputs/bundle
- uses: actions/upload-artifact@v4.3.2
- uses: actions/upload-artifact@v4.3.3
if: always()
continue-on-error: true
with:
name: apks
path: outputs/apk
- uses: actions/upload-artifact@v4.3.2
- uses: actions/upload-artifact@v4.3.3
if: always()
continue-on-error: true
with:
name: proguard-mapping
path: ime/app/build/outputs/mapping
- uses: actions/upload-artifact@v4.3.2
- uses: actions/upload-artifact@v4.3.3
continue-on-error: true
if: always()
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deployment_promote.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
refname: [main, release-branch-addons-v5.0-r1]
fail-fast: false
steps:
- uses: actions/checkout@v4.1.1
- uses: actions/checkout@v4.1.6
with:
ref: ${{ matrix.refname }}
- name: request-scheduled-promote
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/generate_contributors_list.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
contributors-md-update:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4.1.1
- uses: pnpm/action-setup@v3.0.0
- uses: actions/checkout@v4.1.6
- uses: pnpm/action-setup@v4.0.0
with:
version: 8.6.9
run_install: true
Expand All @@ -29,7 +29,7 @@ jobs:
git config --global --add safe.directory "${PWD}"
node dist/contributors/index.js generate --api_token ${{ secrets.BOT_MASTER_RW_GITHUB_TOKEN }} --output_file CONTRIBUTORS.md
- name: Create pull request
uses: peter-evans/create-pull-request@v6.0.4
uses: peter-evans/create-pull-request@v6.0.5
with:
token: ${{ secrets.BOT_MASTER_RW_GITHUB_TOKEN }}
commit-message: 'Automated Contributors List Update'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/localization_update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,18 @@ jobs:
runs-on: ubuntu-22.04
container: ghcr.io/menny/android_ndk:1.20.0
steps:
- uses: actions/checkout@v4.1.1
- uses: actions/checkout@v4.1.6
with:
token: ${{ secrets.BOT_MASTER_RW_GITHUB_TOKEN }}
- name: Crowdin push
uses: crowdin/github-action@v1.20.2
uses: crowdin/github-action@v2.0.0
with:
upload_sources: true
upload_translations: false
download_translations: false
config: crowdin.yml
- name: Crowdin pull
uses: crowdin/github-action@v1.20.2
uses: crowdin/github-action@v2.0.0
with:
upload_sources: false
upload_translations: false
Expand All @@ -53,7 +53,7 @@ jobs:
- name: fix git safe dir
run: git config --global --add safe.directory "${PWD}"
- name: Create pull request
uses: peter-evans/create-pull-request@v6.0.4
uses: peter-evans/create-pull-request@v6.0.5
with:
token: ${{ secrets.BOT_MASTER_RW_GITHUB_TOKEN }}
commit-message: 'Automated Localization Update from crowdin'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/packs_md_update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ jobs:
runs-on: ubuntu-22.04
container: ghcr.io/menny/android_ndk:1.20.0
steps:
- uses: actions/checkout@v4.1.1
- uses: actions/checkout@v4.1.6
with:
token: ${{ secrets.BOT_MASTER_RW_GITHUB_TOKEN }}
- name: setup
run: ./scripts/ci/ci_setup.sh
- name: update packs list
run: ./gradlew :addons:languages:generatePacksMarkDown :addons:themes:generatePacksMarkDown :addons:quicktexts:generatePacksMarkDown
- name: Create pull request
uses: peter-evans/create-pull-request@v6.0.4
uses: peter-evans/create-pull-request@v6.0.5
with:
token: ${{ secrets.BOT_MASTER_RW_GITHUB_TOKEN }}
commit-message: 'Automated Packs List Update'
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/third_party_update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-22.04
container: ghcr.io/menny/android_ndk:1.20.0
steps:
- uses: actions/checkout@v4.1.1
- uses: actions/checkout@v4.1.6
with:
token: ${{ secrets.BOT_MASTER_RW_GITHUB_TOKEN }}
- name: setup
Expand All @@ -35,7 +35,7 @@ jobs:
./gradlew :api:assembleDebug :api:lintDebug
./gradlew :api:assembleDebug :api:lintDebug
- name: Create pull request
uses: peter-evans/create-pull-request@v6.0.4
uses: peter-evans/create-pull-request@v6.0.5
with:
token: ${{ secrets.BOT_MASTER_RW_GITHUB_TOKEN }}
commit-message: 'Automated Maven Artifacts Update'
Expand All @@ -51,15 +51,15 @@ jobs:
runs-on: ubuntu-22.04
container: ghcr.io/menny/android_base:1.20.0
steps:
- uses: actions/checkout@v4.1.1
- uses: actions/checkout@v4.1.6
with:
token: ${{ secrets.BOT_MASTER_RW_GITHUB_TOKEN }}
- name: setup
run: ./scripts/ci/ci_setup.sh
- name: update-github-actions
run: ./scripts/ci/third-party-update/update_github_actions.sh
- name: Create pull request
uses: peter-evans/create-pull-request@v6.0.4
uses: peter-evans/create-pull-request@v6.0.5
with:
token: ${{ secrets.BOT_MASTER_RW_GITHUB_TOKEN }}
commit-message: 'Automated GitHub Actions update from new releases in github.com'
Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:
runs-on: ubuntu-22.04
container: ghcr.io/menny/android_ndk:1.20.0
steps:
- uses: actions/checkout@v4.1.1
- uses: actions/checkout@v4.1.6
with:
token: ${{ secrets.BOT_MASTER_RW_GITHUB_TOKEN }}
- name: setup
Expand All @@ -113,7 +113,7 @@ jobs:
- name: Add changed files
run: ./scripts/ci/third-party-update/${{ matrix.type}}/add_files_to_commit.sh
- name: Create pull request
uses: peter-evans/create-pull-request@v6.0.4
uses: peter-evans/create-pull-request@v6.0.5
with:
token: ${{ secrets.BOT_MASTER_RW_GITHUB_TOKEN }}
commit-message: 'Automated ${{ matrix.type}} ${{ env.LATEST_VERSION }} update'
Expand All @@ -128,10 +128,10 @@ jobs:
general-js-deps:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4.1.1
- uses: actions/checkout@v4.1.6
with:
token: ${{ secrets.BOT_MASTER_RW_GITHUB_TOKEN }}
- uses: pnpm/action-setup@v3.0.0
- uses: pnpm/action-setup@v4.0.0
with:
version: 8.6.9
run_install: true
Expand All @@ -146,7 +146,7 @@ jobs:
- name: re-package node binaries
run: pnpm package
- name: Create pull request
uses: peter-evans/create-pull-request@v6.0.4
uses: peter-evans/create-pull-request@v6.0.5
with:
token: ${{ secrets.BOT_MASTER_RW_GITHUB_TOKEN }}
commit-message: 'Automated JS Dependencies Update Update'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/update_aosp_dictionaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
aosp-dictionaries-update:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4.1.1
- uses: pnpm/action-setup@v3.0.0
- uses: actions/checkout@v4.1.6
- uses: pnpm/action-setup@v4.0.0
with:
version: 8.6.9
run_install: true
Expand All @@ -43,7 +43,7 @@ jobs:
--dictionaries_archive https://github.com/LineageOS/android_packages_inputmethods_LatinIME/archive/refs/heads/lineage-21.0.tar.gz \
--dictionaries_mapping "${PWD}/js/update_aosp_dictionaries/lineage_mapping.yml"
- name: Create pull request
uses: peter-evans/create-pull-request@v6.0.4
uses: peter-evans/create-pull-request@v6.0.5
with:
token: ${{ secrets.BOT_MASTER_RW_GITHUB_TOKEN }}
commit-message: 'Automated AOSP Dictionaries Update'
Expand Down

0 comments on commit 4d09dc0

Please sign in to comment.