summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2021-02-23 15:50:48 +0530
committerGitHub <noreply@github.com>2021-02-23 11:20:48 +0100
commit1a10d1b3e69d58dc00e1f071a44a2787e612ab98 (patch)
tree1a953622311e14fced6732b37bc2c7075acd72b4
parentd17ff0d9251bd2ad84778535dabe4884a4cf9d76 (diff)
github: update and fix workflows (#1322)
* github: fix library deployment workflow Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * github: clamp actions/create-release to latest stable Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * github: clamp actions/download-artifact to latest stable Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * github: clamp actions/github-script to latest stable Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * github: clamp actions/upload-release-asset to latest stable Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * github: clamp gradle/wrapper-validation-action to latest stable Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * github: update thomaseizinger/keep-a-changelog-new-release to v1.2.1 Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * github: update mindsers/changelog-reader-action to v2.0.0 Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * github: update peter-evans/create-pull-request to v3.8.2 Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
-rw-r--r--.github/workflows/deploy_github_releases.yml18
-rw-r--r--.github/workflows/deploy_library_releases.yml4
-rw-r--r--.github/workflows/draft_new_release.yml4
-rw-r--r--.github/workflows/pull_request.yml2
-rw-r--r--.github/workflows/update_publicsuffix_data.yml2
-rw-r--r--.github/workflows/validate_gradle_wrapper.yml2
-rw-r--r--.github/workflows/weekly_crowdin_sync.yml2
7 files changed, 17 insertions, 17 deletions
diff --git a/.github/workflows/deploy_github_releases.yml b/.github/workflows/deploy_github_releases.yml
index 9f866dec..449a8a08 100644
--- a/.github/workflows/deploy_github_releases.yml
+++ b/.github/workflows/deploy_github_releases.yml
@@ -56,39 +56,39 @@ jobs:
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
- name: Get Non-Free Release APK
- uses: actions/download-artifact@f8e41fbffeebb48c0273438d220bb2387727471f
+ uses: actions/download-artifact@4a7a711286f30c025902c28b541c10e147a9b843
with:
name: APS Non-Free Release APK
path: artifacts/nonFree
- name: Get Non-Free Bundle
- uses: actions/download-artifact@f8e41fbffeebb48c0273438d220bb2387727471f
+ uses: actions/download-artifact@4a7a711286f30c025902c28b541c10e147a9b843
with:
name: APS Non-Free Release Bundle
path: artifacts/nonFree
- name: Get Free Release APK
- uses: actions/download-artifact@f8e41fbffeebb48c0273438d220bb2387727471f
+ uses: actions/download-artifact@4a7a711286f30c025902c28b541c10e147a9b843
with:
name: APS Free Release APK
path: artifacts/free
- name: Get Changelog Entry
id: changelog_reader
- uses: mindsers/changelog-reader-action@30552f0e948002519ff6b36ffbf889ef4da47246
+ uses: mindsers/changelog-reader-action@e1a36842bddbd512340f882735802de843998e1f
with:
version: ${{ github.ref }}
path: ./CHANGELOG.md
- name: Create Release
id: create_release
- uses: actions/create-release@c38d3a140cc22e67e265c5d5b6b4888d1f02533f
+ uses: actions/create-release@0cb9c9b65d5d1901c1f53e5e66eaf4afd303e70e
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
- body: ${{ steps.changelog_reader.outputs.log_entry }}
+ body: ${{ steps.changelog_reader.outputs.changes }}
draft: true
prerelease: false
@@ -97,7 +97,7 @@ jobs:
run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/}
- name: Upload Non-Free Release Apk
- uses: actions/upload-release-asset@e9f0662bdf9868f4aac644f0eedc2b56567fdba8
+ uses: actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
@@ -107,7 +107,7 @@ jobs:
asset_content_type: application/vnd.android.package-archive
- name: Upload Non-Free Release Bundle
- uses: actions/upload-release-asset@e9f0662bdf9868f4aac644f0eedc2b56567fdba8
+ uses: actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
@@ -117,7 +117,7 @@ jobs:
asset_content_type: application/octet-stream
- name: Upload Free Release Apk
- uses: actions/upload-release-asset@e9f0662bdf9868f4aac644f0eedc2b56567fdba8
+ uses: actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
diff --git a/.github/workflows/deploy_library_releases.yml b/.github/workflows/deploy_library_releases.yml
index 5e0daff5..d769af6d 100644
--- a/.github/workflows/deploy_library_releases.yml
+++ b/.github/workflows/deploy_library_releases.yml
@@ -50,5 +50,5 @@ jobs:
- name: Close and release repository
uses: burrunan/gradle-cache-action@03c71a8ba93d670980695505f48f49daf43704a6
- with:
- arguments: closeAndReleaseRepository
+ with:
+ arguments: closeAndReleaseRepository
diff --git a/.github/workflows/draft_new_release.yml b/.github/workflows/draft_new_release.yml
index 57719eb2..ecc0f087 100644
--- a/.github/workflows/draft_new_release.yml
+++ b/.github/workflows/draft_new_release.yml
@@ -36,7 +36,7 @@ jobs:
ref: ${{ env.CHECKOUT_REF }}
- name: Update changelog
- uses: thomaseizinger/keep-a-changelog-new-release@96ebf19f2bddaf72406c84691b9c2d827da53140
+ uses: thomaseizinger/keep-a-changelog-new-release@9f6c16b8af7dd10f8aa0ad740fd648b2cfe22171
with:
version: ${{ github.event.milestone.title }}
@@ -71,7 +71,7 @@ jobs:
git commit -m "build: bump version"
- name: Create Pull Request
- uses: peter-evans/create-pull-request@45c510e1f68ba052e3cd911f661a799cfb9ba3a3
+ uses: peter-evans/create-pull-request@052fc72b4198ba9fbc81b818c6e1859f747d49a8
with:
author: GitHub Actions <noreply@github.com>
body: This is an automated pull request to bump the changelog for the ${{ github.event.milestone.title }} release.
diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml
index 8a82f0b8..3f459070 100644
--- a/.github/workflows/pull_request.yml
+++ b/.github/workflows/pull_request.yml
@@ -13,7 +13,7 @@ jobs:
# uses: technote-space/auto-cancel-redundant-workflow@f9dfa1c127a520e4d71b92892850f861fb861206
- name: Check if relevant files have changed
- uses: actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9
+ uses: actions/github-script@47f7cf65b5ced0830a325f705cad64f2f58dddf7
id: service-changed
with:
result-encoding: string
diff --git a/.github/workflows/update_publicsuffix_data.yml b/.github/workflows/update_publicsuffix_data.yml
index f19568ec..41689133 100644
--- a/.github/workflows/update_publicsuffix_data.yml
+++ b/.github/workflows/update_publicsuffix_data.yml
@@ -17,7 +17,7 @@ jobs:
run: if [[ $(git diff --binary --stat) != '' ]]; then echo "UPDATED=true" >> $GITHUB_ENV; fi
- name: Create Pull Request
- uses: peter-evans/create-pull-request@45c510e1f68ba052e3cd911f661a799cfb9ba3a3
+ uses: peter-evans/create-pull-request@052fc72b4198ba9fbc81b818c6e1859f747d49a8
if: env.UPDATED == 'true'
with:
assignees: msfjarvis
diff --git a/.github/workflows/validate_gradle_wrapper.yml b/.github/workflows/validate_gradle_wrapper.yml
index 8a54d8bd..52fc9eea 100644
--- a/.github/workflows/validate_gradle_wrapper.yml
+++ b/.github/workflows/validate_gradle_wrapper.yml
@@ -13,4 +13,4 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
- - uses: gradle/wrapper-validation-action@2a9956c214b2b4b63544570479c926e7a121218e
+ - uses: gradle/wrapper-validation-action@e2c57acffb2c9aa5a8dc6eda2bbae0b6e495bd4c
diff --git a/.github/workflows/weekly_crowdin_sync.yml b/.github/workflows/weekly_crowdin_sync.yml
index 08f70679..ca8e4c2e 100644
--- a/.github/workflows/weekly_crowdin_sync.yml
+++ b/.github/workflows/weekly_crowdin_sync.yml
@@ -17,7 +17,7 @@ jobs:
run: if [[ $(git diff --stat) != '' ]]; then echo "UPDATED=true" >> $GITHUB_ENV; fi
- name: Create Pull Request
- uses: peter-evans/create-pull-request@45c510e1f68ba052e3cd911f661a799cfb9ba3a3
+ uses: peter-evans/create-pull-request@052fc72b4198ba9fbc81b818c6e1859f747d49a8
if: env.UPDATED == 'true'
with:
assignees: msfjarvis