diff --git a/.github/workflows/create-pr.yml b/.github/workflows/create-pr.yml new file mode 100644 index 00000000..f92a653f --- /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 }} diff --git a/setup.py b/setup.py index 3e572233..402c86ee 100644 --- a/setup.py +++ b/setup.py @@ -42,7 +42,7 @@ description="Fireblocks API", author="Fireblocks", author_email="support@fireblocks.com", - url="https://pypi.org/project/fireblocks", + url="https://github.com/fireblocks/py-sdk", keywords=["Fireblocks", "SDK", "Fireblocks API"], python_requires=PYTHON_REQUIRES, install_requires=REQUIRES,