ci: add release automation caller workflows#59
Open
Riyad-Axeptio wants to merge 2 commits into
Open
Conversation
axeptio-bot
self-requested a review
June 12, 2026 13:31
Comment on lines
+15
to
+22
| uses: axeptio/tech-scripts/.github/workflows/auto-release.yml@auto-release-v0.0.1 | ||
| with: | ||
| target_branch: master | ||
| source_branch: develop | ||
| secrets: | ||
| BOT_GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }} | ||
| BOT_GPG_PRIVATE_KEY: ${{ secrets.BOT_GPG_PRIVATE_KEY }} | ||
| BOT_EMAIL: ${{ secrets.BOT_EMAIL }} |
Comment on lines
+14
to
+21
| uses: axeptio/tech-scripts/.github/workflows/create-release-pr.yml@create-release-pr-v0.0.1 | ||
| with: | ||
| source_branch: develop | ||
| target_branch: master | ||
| secrets: | ||
| BOT_GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }} | ||
| BOT_GPG_PRIVATE_KEY: ${{ secrets.BOT_GPG_PRIVATE_KEY }} | ||
| BOT_EMAIL: ${{ secrets.BOT_EMAIL }} |
Contributor
There was a problem hiding this comment.
Pull request overview
Adds GitHub Actions “caller” workflows to automate the release process: periodically opening a release PR from develop → master, and automatically cutting a release when changes land on master (with a gate file to enable the automation).
Changes:
- Add a scheduled + manually dispatchable workflow to open a release PR (
develop→master). - Add a push-triggered + manually dispatchable workflow to run auto-release on
master. - Add a
.github/release-automation-enabledgate file to enable the automation.
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
.github/workflows/create-release-pr.yml |
Adds a scheduled reusable-workflow caller to open a weekly release PR from develop to master. |
.github/workflows/auto-release.yml |
Adds a reusable-workflow caller to run auto-release on pushes to master. |
.github/release-automation-enabled |
Adds an enablement “gate” file for release automation. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+13
to
+15
| create-release-pr: | ||
| uses: axeptio/tech-scripts/.github/workflows/create-release-pr.yml@create-release-pr-v0.0.1 | ||
| with: |
Comment on lines
+3
to
+10
| on: | ||
| schedule: | ||
| - cron: '0 8 * * 1' # Every Monday at 08:00 UTC | ||
| workflow_dispatch: | ||
|
|
||
| concurrency: | ||
| group: create-release-pr-${{ github.repository }} | ||
| cancel-in-progress: false |
Comment on lines
+13
to
+16
| jobs: | ||
| auto-release: | ||
| uses: axeptio/tech-scripts/.github/workflows/auto-release.yml@auto-release-v0.0.1 | ||
| with: |
Comment on lines
+3
to
+11
| on: | ||
| push: | ||
| branches: | ||
| - master | ||
| workflow_dispatch: | ||
|
|
||
| concurrency: | ||
| group: auto-release-${{ github.repository }} | ||
| cancel-in-progress: false |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Linear: ENG-12610
Spec: https://linear.app/axeptio/document/release-automation-spec-auto-releaseyml-and-create-release-pryml-764aff34ad43
Source branch:
develop→ Target branch:masterFiles added
.github/workflows/create-release-pr.yml— caller workflow pinned tocreate-release-pr-v0.0.1; runs every Monday at 08:00 UTC (+ manual dispatch) to open a release PR fromdevelop→master.github/workflows/auto-release.yml— caller workflow pinned toauto-release-v0.0.1; triggers on push tomasterto cut the GitHub release and updatedevelop.github/release-automation-enabled— gate file added; automation active immediately after mergenpm publish
No npm package —
has_npm_package: false. Theauto-releaseworkflow is called without npm publish.Test plan
create-release-prworkflow runs on schedule and viaworkflow_dispatchauto-releaseworkflow triggers on merge tomasterBOT_GITHUB_TOKEN,BOT_GPG_PRIVATE_KEY,BOT_EMAIL) are configured in repo settings