From 78ddfa3f73f9483129bd084b4dae250e8e090771 Mon Sep 17 00:00:00 2001 From: Lucas PASCAL Date: Thu, 17 Nov 2022 10:38:47 +0100 Subject: [PATCH] [fix] Replace manual commit & push on protected branch with automatic PR with SDK submodule update --- .github/workflows/sdk-generation.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/sdk-generation.yml b/.github/workflows/sdk-generation.yml index 00cdbb0..9d26eb3 100644 --- a/.github/workflows/sdk-generation.yml +++ b/.github/workflows/sdk-generation.yml @@ -42,11 +42,10 @@ jobs: secret: ${{ secrets.CI_BOT_TOKEN }} repository: LedgerHQ/ethereum-plugin-sdk - - name: Update the SDK submodule in the Ethereum app - uses: ./.github/actions/commit-changes + - name: Create SDK update pull request + uses: peter-evans/create-pull-request@v4 with: - name: 'ldg-github-ci' - files: ethereum-plugin-sdk - message: "[update][SDK] Branch ${{ steps.extract_branch.outputs.branch }} | Commit ${GITHUB_SHA}" - secret: ${{ secrets.CI_BOT_TOKEN }} - repository: LedgerHQ/app-ethereum + branch: sdk/update-submodule + delete-branch: true + title: Update the SDK submodule + reviewers: apailler-ledger