From daaf098598aea320b1a65ca2354ee40f683904f4 Mon Sep 17 00:00:00 2001 From: fireblocks_dx_team Date: Thu, 13 Jun 2024 13:17:34 +0000 Subject: [PATCH] Generated SDK #6573 --- .github/workflows/create-pr.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/create-pr.yml diff --git a/.github/workflows/create-pr.yml b/.github/workflows/create-pr.yml new file mode 100644 index 0000000..f92a653 --- /dev/null +++ b/.github/workflows/create-pr.yml @@ -0,0 +1,25 @@ +name: Create Pull Request + +on: + push: + branches: + - 'fireblocks-api-spec/generated/*' + +jobs: + create-pull-request: + runs-on: ubuntu-latest + + steps: + - name: Check out repository code + uses: actions/checkout@v4 + + - name: Create pull request + run: | + gh pr create \ + --title "${{ github.event.commits[0].message }}" \ + --body "This PR was automatically generated." \ + --base master \ + --head ${{ github.ref }} \ + --reviewer asafs932,zoharsf,YoavBZ + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}