From 9decffbf169c20ef6a79a2794b6709b9bd4cbd7a Mon Sep 17 00:00:00 2001 From: Allain Magyar Date: Wed, 5 Feb 2025 11:21:53 -0300 Subject: [PATCH] fix: creates integration flow Signed-off-by: Allain Magyar --- .github/workflows/ci.yml | 8 -------- .github/workflows/integration.yml | 20 ++++++++++++++++++++ 2 files changed, 20 insertions(+), 8 deletions(-) create mode 100644 .github/workflows/integration.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2a4865421..39ff67117 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -93,11 +93,3 @@ jobs: name: lcov-report.zip path: coverage/lcov-report if-no-files-found: error - - - name: Dispatch integration - uses: peter-evans/repository-dispatch@v3 - with: - token: ${{ secrets.ATALA_GITHUB_TOKEN }} - repository: input-output-hk/identus-integration - event-type: integration - client-payload: '{"component": "sdk-ts", "version": "${{ github.sha }}" }' diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml new file mode 100644 index 000000000..4cca5d3e2 --- /dev/null +++ b/.github/workflows/integration.yml @@ -0,0 +1,20 @@ +name: Integration + +on: + push: + branches: + - "main" + +jobs: + integrate: + name: Build and test + runs-on: ubuntu-latest + + steps: + - name: Dispatch integration + uses: peter-evans/repository-dispatch@v3 + with: + token: ${{ secrets.ATALA_GITHUB_TOKEN }} + repository: input-output-hk/identus-integration + event-type: integration + client-payload: '{"component": "sdk-ts", "version": "${{ github.sha }}" }'