-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generated SDK 3029 from COR-46191/fix_pipelines
- Loading branch information
fireblocks_dx_team
committed
Jun 6, 2024
1 parent
41379bb
commit 995b440
Showing
2 changed files
with
95 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
#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 }} | ||
|
||
|
||
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: Set up GitHub CLI | ||
# uses: actions/setup-gh-cli@v2 | ||
# | ||
# - name: Authenticate GitHub CLI | ||
# run: gh auth login --with-token | ||
# env: | ||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- 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 }} | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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, | ||
|