File tree Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Original file line number Diff line number Diff line change 1010 permissions :
1111 # needed to publish to PyPI
1212 id-token : write
13- # needed to create a PR to merge the release branch and main
14- contents : write
15- pull-requests : write
1613 steps :
1714 - uses : actions/checkout@v4
1815
8279 git config user.name github-actions
8380 git config user.email [email protected] 8481
85- - name : create PR to merge release branch and main
86- run : |
87- git fetch --quiet
88-
89- # ${{ github.ref_name }}: The short ref name of the branch or tag that triggered the workflow run.
90- git checkout ${{ github.ref_name }}
91-
92- curl https://raw.githubusercontent.com/kili-technology/kili-python-sdk/main/.github/scripts/utils.sh --output utils.sh
93- source ./utils.sh # to get the bump_version function
94-
95- sdk_version=$(get_sdk_version_from_pyproject_toml)
96-
97- # create a branch to merge the release branch and main
98- git checkout -b merge_release/$sdk_version
99- git push --set-upstream origin merge_release/$sdk_version
100- gh pr create --title "chore: merge release/$sdk_version into main" --body "Merge release/$sdk_version into main" --base main
101- env :
102- GH_TOKEN : ${{ github.token }} # needed for gh cli
103-
10482 deploy-documentation :
10583 uses : ./.github/workflows/deploy_doc.yml
10684 needs : [publish] # Run after the previous job
You can’t perform that action at this time.
0 commit comments