From 3c6906b7b6d5a1af4e73ddf9d22847040e26633e Mon Sep 17 00:00:00 2001 From: Tuan Pham <103537251+phantumcode@users.noreply.github.com> Date: Wed, 4 Oct 2023 16:57:39 -0500 Subject: [PATCH 1/3] chore: fix release workflow (#57) --- .github/workflows/deploy_liveness.yml | 1 + .github/workflows/deploy_release.yml | 1 + .github/workflows/deploy_unstable.yml | 1 + 3 files changed, 3 insertions(+) diff --git a/.github/workflows/deploy_liveness.yml b/.github/workflows/deploy_liveness.yml index 37fa3028..b9ff0c4a 100644 --- a/.github/workflows/deploy_liveness.yml +++ b/.github/workflows/deploy_liveness.yml @@ -11,6 +11,7 @@ on: permissions: id-token: write contents: write + actions: write jobs: build-amplify-ui-swift-liveness: diff --git a/.github/workflows/deploy_release.yml b/.github/workflows/deploy_release.yml index 68361f09..d5e8326c 100644 --- a/.github/workflows/deploy_release.yml +++ b/.github/workflows/deploy_release.yml @@ -7,6 +7,7 @@ on: permissions: id-token: write contents: write + actions: write jobs: release-stable: diff --git a/.github/workflows/deploy_unstable.yml b/.github/workflows/deploy_unstable.yml index 0b6661a1..2c967ad5 100644 --- a/.github/workflows/deploy_unstable.yml +++ b/.github/workflows/deploy_unstable.yml @@ -7,6 +7,7 @@ on: permissions: id-token: write contents: write + actions: write jobs: release-unstable: From 115e671bdf95838ad1b4757b5e49dd9d285fa7e4 Mon Sep 17 00:00:00 2001 From: Tuan Pham <103537251+phantumcode@users.noreply.github.com> Date: Thu, 5 Oct 2023 11:13:13 -0500 Subject: [PATCH 2/3] chore: make unit test GH action reusable (#58) --- .github/workflows/liveness_unit_tests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/liveness_unit_tests.yml b/.github/workflows/liveness_unit_tests.yml index df179fec..9c348d4d 100644 --- a/.github/workflows/liveness_unit_tests.yml +++ b/.github/workflows/liveness_unit_tests.yml @@ -2,6 +2,7 @@ name: Run Unit Tests | Amplify UI Swift Liveness on: workflow_dispatch: + workflow_call: push: branches: [ main ] pull_request: From e8f13491da3455c7cbd96b20c2b8bc97745c6168 Mon Sep 17 00:00:00 2001 From: Tuan Pham <103537251+phantumcode@users.noreply.github.com> Date: Thu, 5 Oct 2023 12:11:58 -0500 Subject: [PATCH 3/3] chore: fix unit test GH action (#59) * chore: make unit test GH action reusable * chore: fix unit test GH action --- .github/workflows/liveness_unit_tests.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/liveness_unit_tests.yml b/.github/workflows/liveness_unit_tests.yml index 9c348d4d..c18db2a5 100644 --- a/.github/workflows/liveness_unit_tests.yml +++ b/.github/workflows/liveness_unit_tests.yml @@ -3,6 +3,10 @@ name: Run Unit Tests | Amplify UI Swift Liveness on: workflow_dispatch: workflow_call: + inputs: + identifier: + required: true + type: string push: branches: [ main ] pull_request: