[fix] Replace manual commit & push on protected branch with automatic PR with SDK submodule update
This commit is contained in:
13
.github/workflows/sdk-generation.yml
vendored
13
.github/workflows/sdk-generation.yml
vendored
@@ -42,11 +42,10 @@ jobs:
|
|||||||
secret: ${{ secrets.CI_BOT_TOKEN }}
|
secret: ${{ secrets.CI_BOT_TOKEN }}
|
||||||
repository: LedgerHQ/ethereum-plugin-sdk
|
repository: LedgerHQ/ethereum-plugin-sdk
|
||||||
|
|
||||||
- name: Update the SDK submodule in the Ethereum app
|
- name: Create SDK update pull request
|
||||||
uses: ./.github/actions/commit-changes
|
uses: peter-evans/create-pull-request@v4
|
||||||
with:
|
with:
|
||||||
name: 'ldg-github-ci'
|
branch: sdk/update-submodule
|
||||||
files: ethereum-plugin-sdk
|
delete-branch: true
|
||||||
message: "[update][SDK] Branch ${{ steps.extract_branch.outputs.branch }} | Commit ${GITHUB_SHA}"
|
title: Update the SDK submodule
|
||||||
secret: ${{ secrets.CI_BOT_TOKEN }}
|
reviewers: apailler-ledger
|
||||||
repository: LedgerHQ/app-ethereum
|
|
||||||
|
|||||||
Reference in New Issue
Block a user