Skip to content

Commit

Permalink
Generated SDK 7353 from COR-46191/fix_pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
fireblocks_dx_team committed Jun 6, 2024
1 parent 41379bb commit 218fe7f
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 1 deletion.
61 changes: 61 additions & 0 deletions .github/workflows/create-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: Pull Request Action
on:
push:
branches-ignore:
- master

#jobs:
# create-pull-request:
# runs-on: ubuntu-latest
# steps:
# - name: Check out repository code
# uses: actions/checkout@v4
#
# - name: Get last commit message
# id: last_commit
# run: echo "::set-output name=commit_message::$(git log -1 --pretty=%B)"
#
# - name: Get branch name
# id: branch_name
# run: echo "::set-output name=branch_name::$(echo ${GITHUB_REF#refs/heads/})"
#
# - name: pull-request
# uses: peter-evans/create-pull-request@v6
# with:
# labels: |
# report
# automated pr
# title: ${{ steps.last_commit.outputs.commit_message }}
# body: |
# This is an auto-generated pull request.
# ${{ steps.last_commit.outputs.commit_message }}
# draft: false
# base: master
# branch: ${{ steps.branch_name.outputs.branch_name }}
#jobs:
# action-pull-request:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout repository
# uses: actions/checkout@v2
# with:
# fetch-depth: 0
# - name: Run the Action
# uses: devops-infra/[email protected]
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# title: ${{ github.event.commits[0].message }}
# assignee: ${{ github.actor }}
# reviewer: asafs932,zoharsf
# label: automatic,feature

jobs:
action-pull-request:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Create pull request
run: |
gh pr create --title ${{ github.event.commits[0].message }} --body "Automated PR" --base master --head ${{ github.ref }}
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
description="Fireblocks API",
author="Fireblocks",
author_email="[email protected]",
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,
Expand Down

0 comments on commit 218fe7f

Please sign in to comment.