File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -416,6 +416,7 @@ jobs:
416416 env :
417417 NEW_VERSION : ${{ needs.docker-build-test.outputs.version }}
418418 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
419+ VERSION_BUMP : ${{ github.event.inputs.version_bump || 'patch' }}
419420 run : |
420421 # Check if there are changes to commit
421422 if git diff --quiet pyproject.toml; then
@@ -434,7 +435,7 @@ jobs:
434435 # Push the branch
435436 git push origin "$BRANCH_NAME"
436437
437- # Create a pull request
438+ # Create a pull request with version-specific label
438439 gh pr create \
439440 --title "chore: bump version to $NEW_VERSION" \
440441 --body "Automated version update after release $NEW_VERSION
@@ -443,12 +444,12 @@ jobs:
443444
444445 **Auto-generated after**: Docker Release v$NEW_VERSION
445446 **Release Tag**: ${{ env.RELEASE_TAG }}
447+ **Version bump type**: $VERSION_BUMP
446448
447449 > This PR was automatically created by the Docker Release workflow." \
448450 --base main \
449451 --head "$BRANCH_NAME" \
450- --label "automated" \
451- --label "version-bump"
452+ --label "$VERSION_BUMP version"
452453
453454 echo "✅ Pull request created for version update to $NEW_VERSION"
454455
You can’t perform that action at this time.
0 commit comments