Skip to content

Create pull workflows per release#2195

Merged
halamix2 merged 5 commits intokyma-project:mainfrom
halamix2:pull-workflows
Jan 19, 2026
Merged

Create pull workflows per release#2195
halamix2 merged 5 commits intokyma-project:mainfrom
halamix2:pull-workflows

Conversation

@halamix2
Copy link
Member

Description

Changes proposed in this pull request:

  • Create pull workflows for main and release-1.9
  • create workflow that automatically creates pull-<rel-branch>.yaml file on branch creation

Related issue(s)

@hyperspace-insights
Copy link
Contributor

Summary

The following content is AI-generated and provides a summary of the pull request:


Automate Release Branch Workflow Creation

New Features

✨ Introduced an automated system to create and manage GitHub Actions workflows for release branches, ensuring that reusable workflows are executed from the correct branch rather than always running from main.

Changes

  • .github/workflows/create-release-pull.yaml: Added a new workflow that automatically triggers on branch creation. It detects release branches matching the pattern release-* (e.g., release-1.9) and generates a corresponding pull workflow file (pull-<branch-name>.yaml) by copying and modifying the main pull workflow template. The new workflow is committed and pushed to the main branch using a bot account.

  • .github/workflows/pull-release-1.9.yaml: Created a dedicated pull request workflow for the release-1.9 branch. This workflow runs unit tests, security scans (gitleaks), image verification, builds, and integration tests specifically for pull requests targeting the release-1.9 branch. All reusable workflow references point to @release-1.9 instead of @main.

  • .github/workflows/pull.yaml: Updated the main pull request workflow to explicitly target only the main branch and converted all reusable workflow references from relative paths (./.github/workflows/) to absolute repository paths with explicit @main branch references (kyma-project/serverless/.github/workflows/<workflow>.yaml@main). This ensures the workflow always uses the correct version of reusable workflows.

GitHub Issues

  • #2143: Reusable workflows always run from main

  • 🔄 Regenerate and Update Summary
  • ✏️ Insert as PR Description (deletes this comment)
  • 🗑️ Delete comment
PR Bot Information

Version: 1.17.5


💌 Have ideas or want to contribute? Create an issue and share your thoughts with us!
📑 Check out the documentation for more information.

Made with ❤️ by Hyperspace.

@halamix2 halamix2 marked this pull request as ready for review January 15, 2026 08:02
@halamix2 halamix2 requested a review from a team as a code owner January 15, 2026 08:02
@halamix2 halamix2 force-pushed the pull-workflows branch 4 times, most recently from 2c8f3e0 to 58e3d0b Compare January 16, 2026 13:07
@halamix2 halamix2 enabled auto-merge (squash) January 19, 2026 12:32
@halamix2 halamix2 merged commit 8ee2c0e into kyma-project:main Jan 19, 2026
26 checks passed
@halamix2 halamix2 deleted the pull-workflows branch January 19, 2026 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants