Skip to content

Add release workflow calling reusable workflow from cppfw/myci - #5

Merged
igagis merged 1 commit into
mainfrom
add-release-workflow
Dec 2, 2026
Merged

igagis merged 1 commit into
mainfrom
add-release-workflow

Conversation

@igagis-bot

Copy link
Copy Markdown
Contributor

Description

Adds .github/workflows/release.yml, a thin caller for the reusable release workflow in cppfw/myci (cppfw/myci/.github/workflows/release.yml@main).

The caller exposes the same workflow_dispatch inputs as the reusable workflow:

  • type (choice, required): patch or any — patch bumps the debian changelog patch version, any releases the current version
  • message (string, required for patch): added to build/debian/changelog

The reusable workflow handles: installing myci from the cppfw deb repo, checking out the repo, resolving the git identity from the triggering user's GitHub profile, and pushing main/latest/tags over HTTPS using MYCI_GIT_ACCESS_TOKEN.

Notes / requirements

  • Requires a MYCI_GIT_ACCESS_TOKEN secret in this repo — a PAT with Contents: read and write on cppfw/veg (same secret name/mechanism ci.yml uses for deploy pushes). If the secret doesn't exist yet, the release run will fail at the push step with invalid credentials.
  • The triggering user must have a public email and full name in their GitHub profile (the reusable workflow fails fast otherwise).

Test plan

  • actionlint passes
  • Trigger release manually with type: patch and a message to confirm end-to-end push

Calls cppfw/myci/.github/workflows/release.yml@main with the same
workflow_dispatch inputs as the reusable workflow (type: patch/any,
required message for patch).

Requires the MYCI_GIT_ACCESS_TOKEN secret in this repo (a PAT with
contents:write on cppfw/veg), same as the ci workflow uses for deploy pushes.
@codecov

codecov Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.00%. Comparing base (192b614) to head (551ef78).

Additional details and impacted files
@@          Coverage Diff          @@
##            main      #5   +/-   ##
=====================================
  Coverage   0.00%   0.00%           
=====================================
  Files          6       6           
  Lines        425     425           
  Branches     121     121           
=====================================
  Misses       425     425           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

@igagis
igagis merged commit e919c5b into main Dec 2, 2026
7 of 24 checks passed
@igagis
igagis deleted the add-release-workflow branch December 2, 2026 23:29
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