Skip to content

Run as a composite action instead of a Docker container - #82

Merged
seanogdev merged 3 commits into
masterfrom
composite-action
Dec 3, 2026
Merged

seanogdev merged 3 commits into
masterfrom
composite-action

Conversation

@seanogdev

@seanogdev seanogdev commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

The action built its Docker image on every run, and that build pulled alpine from Docker Hub without authentication. On busy runners the pull fails with 429 Too Many Requests, and the job fails before the action starts.

The image only added bash, curl and jq to run entrypoint.sh. GitHub-hosted runners already have those, so the action now runs the script directly as a composite action:

  • action.yml maps each input to its INPUT_* env var, which composite steps do not get automatically. The scripts read the env vars instead of positional args, so the token is still not on the command line.
  • The action fails with a clear message when curl or jq is not installed on the runner.
  • The PR title trim and heading demotion no longer need jq 1.7.1 trim or awk regex intervals, so they work with the jq 1.6 and mawk on Ubuntu 22.04.
  • The tests run the script against the Python mock on localhost, without Docker.

Workflows that use @master get this change when it merges. A self-hosted runner needs bash 4 or later, curl and jq.

@seanogdev
seanogdev requested a review from a team as a code owner December 3, 2026 12:47
@seanogdev
seanogdev merged commit 3d6c7fc into master Dec 3, 2026
2 checks passed
@seanogdev
seanogdev deleted the composite-action branch December 3, 2026 13:00
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.

3 participants