Skip to content

ci(release): add release-main workflow for develop promotion via gitutils#25

Draft
Copilot wants to merge 10 commits into
mainfrom
copilot/create-release-main-workflow
Draft

ci(release): add release-main workflow for develop promotion via gitutils#25
Copilot wants to merge 10 commits into
mainfrom
copilot/create-release-main-workflow

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 9, 2026

Adds a dedicated release-main workflow to automate the release flow requested in the issue: instantiate tomgrv/devcontainer-features/gitutils and run git beta && git prod from develop.

  • Workflow: release-main

    • New file: .github/workflows/release-main.yml
    • Triggers on:
      • push to develop
      • workflow_dispatch
  • Release execution path

    • Checks out full history from develop (fetch-depth: 0, ref: develop)
    • Sets up Node runtime via tomgrv/actions/setup-node@v0
    • Installs GitUtils with npx tomgrv/devcontainer-features -- gitutils
    • Configures bot git identity
    • Executes release sequence: git beta && git prod
  • Safety/diagnostic guards

    • Verifies GitUtils-provided aliases (alias.beta, alias.prod) before running release commands
    • Emits explicit failure messages when installation or alias provisioning is not available
- name: Install GitUtils
  run: npx tomgrv/devcontainer-features -- gitutils

- name: Verify GitUtils aliases
  run: |
    git config --global --get alias.beta >/dev/null || { echo 'Missing git beta alias after GitUtils install; check the "Install GitUtils" step logs.'; false; }
    git config --global --get alias.prod >/dev/null || { echo 'Missing git prod alias after GitUtils install; check the "Install GitUtils" step logs.'; false; }

- name: Run git beta then git prod
  env:
    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  run: git beta && git prod

Copilot AI linked an issue May 9, 2026 that may be closed by this pull request
Copilot AI and others added 9 commits May 9, 2026 15:36
Agent-Logs-Url: https://github.com/tomgrv/actions/sessions/7251a5f1-1ce0-42b6-8d5c-78958c17407a

Co-authored-by: tomgrv <1809566+tomgrv@users.noreply.github.com>
Copilot AI changed the title [WIP] Add release workflow for main branch ci(release): add release-main workflow for develop promotion via gitutils May 9, 2026
Copilot AI requested a review from tomgrv May 9, 2026 15:42
Copilot finished work on behalf of tomgrv May 9, 2026 15:42
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.

release workflow

2 participants