Skip to content

ci: add release automation caller workflows#59

Open
Riyad-Axeptio wants to merge 2 commits into
developfrom
feat/eng-12610-release-automation
Open

ci: add release automation caller workflows#59
Riyad-Axeptio wants to merge 2 commits into
developfrom
feat/eng-12610-release-automation

Conversation

@Riyad-Axeptio

Copy link
Copy Markdown
Contributor

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: master

Files added

  • .github/workflows/create-release-pr.yml — caller workflow pinned to create-release-pr-v0.0.1; runs every Monday at 08:00 UTC (+ manual dispatch) to open a release PR from developmaster
  • .github/workflows/auto-release.yml — caller workflow pinned to auto-release-v0.0.1; triggers on push to master to cut the GitHub release and update develop
  • .github/release-automation-enabled — gate file added; automation active immediately after merge

npm publish

No npm package — has_npm_package: false. The auto-release workflow is called without npm publish.

Test plan

  • Verify create-release-pr workflow runs on schedule and via workflow_dispatch
  • Verify auto-release workflow triggers on merge to master
  • Confirm secrets (BOT_GITHUB_TOKEN, BOT_GPG_PRIVATE_KEY, BOT_EMAIL) are configured in repo settings

Copilot AI review requested due to automatic review settings June 12, 2026 13:31
@linear

linear Bot commented Jun 12, 2026

Copy link
Copy Markdown

ENG-12610

PLG-263

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 }}

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds GitHub Actions “caller” workflows to automate the release process: periodically opening a release PR from developmaster, 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 (developmaster).
  • Add a push-triggered + manually dispatchable workflow to run auto-release on master.
  • Add a .github/release-automation-enabled gate 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
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.

4 participants