Add script to run all GitHub Actions workflows locally#11
Draft
Add script to run all GitHub Actions workflows locally#11
Conversation
Co-authored-by: gensyn <36128035+gensyn@users.noreply.github.com> Agent-Logs-Url: https://github.com/gensyn/ssh_command/sessions/58c43d00-2112-458f-9c4b-351fbc5b5fc7
Copilot
AI
changed the title
[WIP] Add Bash script to run GitHub workflows locally
Add script to run all GitHub Actions workflows locally
Mar 23, 2026
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.
No existing way to run the repository's CI workflows locally before pushing.
Changes
run_workflows_locally.sh– new executable script at the repo root that:Auto-installs Docker (Linux:
get.docker.com, macOS: Homebrew cask) and act (official install script / Homebrew) if not already presentStarts the Docker daemon if it isn't running
Runs each workflow against the
catthehacker/ubuntu:act-latestimage with the appropriate event trigger:test.ymlpushpylint.ymlpushintegration-tests.ymlpushhassfest.yamlpushvalidate.yamlworkflow_dispatchrelease.yamlrelease.yamlis excluded by default since it requires a realGITHUB_TOKENwith write permissions and uploads to an actual GitHub release; opt in with--include-releasePrints a colour-coded pass/skip/fail summary
Usage
📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.