[GHA] Add installer workflow to test installer generation#4020
Merged
imnasnainaec merged 10 commits intomasterfrom Nov 10, 2025
Merged
[GHA] Add installer workflow to test installer generation#4020imnasnainaec merged 10 commits intomasterfrom
imnasnainaec merged 10 commits intomasterfrom
Conversation
Create GitHub Actions workflow to test the installer generation: - Runs on push and pull_request on master branch - Two jobs: make_installer and make_readme - Installer job tests both --net-install and release version (v2.7.1) - Both use --debug flag as specified - README job generates PDF from installer README - Both jobs use Harden Runner with egress-policy: audit - Minimal permissions (contents: read) Co-authored-by: imnasnainaec <6411521+imnasnainaec@users.noreply.github.com>
Remove disable-sudo setting to allow sudo commands for installing dependencies Co-authored-by: imnasnainaec <6411521+imnasnainaec@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Create GitHub Action workflow for installer testing
Add installer workflow to test installer generation
Nov 7, 2025
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #4020 +/- ##
=======================================
Coverage 74.58% 74.58%
=======================================
Files 293 293
Lines 10817 10817
Branches 1353 1353
=======================================
Hits 8068 8068
Misses 2354 2354
Partials 395 395
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Fetch the latest release tag using gh CLI before running the installer script to avoid hard-coding version numbers. Co-authored-by: imnasnainaec <6411521+imnasnainaec@users.noreply.github.com>
Use `git describe --tags --abbrev=0` directly in the installer step instead of a separate step with gh CLI. This simplifies the workflow and removes the need for GitHub API access. Co-authored-by: imnasnainaec <6411521+imnasnainaec@users.noreply.github.com>
…m/sillsdev/TheCombine into copilot/create-installer-workflow
imnasnainaec
approved these changes
Nov 10, 2025
jasonleenaylor
approved these changes
Nov 10, 2025
Contributor
jasonleenaylor
left a comment
There was a problem hiding this comment.
@jasonleenaylor reviewed 1 of 1 files at r2, all commit messages.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @imnasnainaec)
imnasnainaec
approved these changes
Nov 10, 2025
Collaborator
imnasnainaec
left a comment
There was a problem hiding this comment.
@imnasnainaec reviewed all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @imnasnainaec)
imnasnainaec
approved these changes
Nov 10, 2025
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.
Adds GitHub Actions workflow to validate installer script generation as described in the README section "Generate Installer Script for The Combine".
Workflow Structure
pushandpull_requestonmastercontents: read(minimal)make_installer: Tests both network (--net-install) and offline (latest release) installer generation with--debugmake_readme: Generates installer PDF documentation via pandoc/weasyprintSecurity
Both jobs use Harden Runner with
egress-policy: blockand allowed endpoints configured.Release Version Handling
The workflow dynamically fetches the latest release version using
git describe --tags --abbrev=0:The checkout step includes
fetch-depth: 0to ensure all tags are available. This ensures the workflow always tests against the current release without requiring manual updates or GitHub API access.Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.
This change is