Summary
Evaluate and implement act for running GitHub Actions workflows locally on macOS using Podman as the container backend.
Motivation
- Faster feedback loop when editing
.github/workflows/ files — no need to commit/push to test changes
- Ability to run workflows (e.g.
scrape-stars, scrape-readmes) locally on demand
Setup Notes
act is available via brew install act
- On macOS, Podman runs containers inside a Linux VM (
podman machine); the socket is tunneled to the host
act needs DOCKER_HOST pointed at the Podman socket: unix://~/.local/share/containers/podman/machine/podman.sock
- Start the VM first:
podman machine start
Tasks
Summary
Evaluate and implement act for running GitHub Actions workflows locally on macOS using Podman as the container backend.
Motivation
.github/workflows/files — no need to commit/push to test changesscrape-stars,scrape-readmes) locally on demandSetup Notes
actis available viabrew install actpodman machine); the socket is tunneled to the hostactneedsDOCKER_HOSTpointed at the Podman socket:unix://~/.local/share/containers/podman/machine/podman.sockpodman machine startTasks
act -n) to validate setupscrape-starsorscrape-readmeslocally end-to-endGITHUB_TOKEN, etc.)