Skip to content

Commit

Permalink
[fix] Replace manual commit & push on protected branch with automatic…
Browse files Browse the repository at this point in the history
… PR with SDK submodule update
  • Loading branch information
lpascal-ledger committed Nov 17, 2022
1 parent bab190b commit 78ddfa3
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/sdk-generation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 78ddfa3

Please sign in to comment.