{"id":13707034,"url":"https://github.com/ashishb/gabo","last_synced_at":"2026-03-02T01:01:57.506Z","repository":{"id":157881613,"uuid":"619408744","full_name":"ashishb/gabo","owner":"ashishb","description":"GitHub Actions Boilerplate Generator to avoid common pitfalls (https://ashishb.net/programming/common-pitfalls-of-github-actions/)","archived":false,"fork":false,"pushed_at":"2026-02-09T01:38:11.000Z","size":387,"stargazers_count":126,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-02-09T07:53:27.912Z","etag":null,"topics":["actions","ci","devops","github","githubactions"],"latest_commit_sha":null,"homepage":"https://ashishb.net/tech/common-pitfalls-of-github-actions/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ashishb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-03-27T04:45:08.000Z","updated_at":"2026-02-09T01:38:05.000Z","dependencies_parsed_at":"2023-11-13T05:30:39.870Z","dependency_job_id":"639e2313-ef01-4dcd-82fc-29800038b897","html_url":"https://github.com/ashishb/gabo","commit_stats":null,"previous_names":[],"tags_count":43,"template":false,"template_full_name":null,"purl":"pkg:github/ashishb/gabo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashishb%2Fgabo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashishb%2Fgabo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashishb%2Fgabo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashishb%2Fgabo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ashishb","download_url":"https://codeload.github.com/ashishb/gabo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashishb%2Fgabo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29988484,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T22:42:38.399Z","status":"ssl_error","status_checked_at":"2026-03-01T22:41:51.863Z","response_time":124,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["actions","ci","devops","github","githubactions"],"created_at":"2024-08-02T22:01:16.194Z","updated_at":"2026-03-02T01:01:57.468Z","avatar_url":"https://github.com/ashishb.png","language":"Go","readme":"# GitHub Actions Boilerplate (`gabo`)\n\n[![Lint YAML](https://github.com/ashishb/gabo/actions/workflows/lint-yaml.yaml/badge.svg)](https://github.com/ashishb/gabo/actions/workflows/lint-yaml.yaml) [![Lint Markdown](https://github.com/ashishb/gabo/actions/workflows/lint-markdown.yaml/badge.svg)](https://github.com/ashishb/gabo/actions/workflows/lint-markdown.yaml)\n[![Lint GitHub Actions](https://github.com/ashishb/gabo/actions/workflows/lint-github-actions.yaml/badge.svg)](https://github.com/ashishb/gabo/actions/workflows/lint-github-actions.yaml)\n[![Lint Go](https://github.com/ashishb/gabo/actions/workflows/lint-go.yaml/badge.svg)](https://github.com/ashishb/gabo/actions/workflows/lint-go.yaml) [![Validate Go code formatting](https://github.com/ashishb/gabo/actions/workflows/format-go.yaml/badge.svg)](https://github.com/ashishb/gabo/actions/workflows/format-go.yaml) [![Test](https://github.com/ashishb/gabo/actions/workflows/test-go.yaml/badge.svg)](https://github.com/ashishb/gabo/actions/workflows/test-go.yaml)\n\n[![Check Go Releaser config for validity](https://github.com/ashishb/gabo/actions/workflows/check-goreleaser-config.yaml/badge.svg)](https://github.com/ashishb/gabo/actions/workflows/check-goreleaser-config.yaml)\n\n[![Release Go binaries with Go Releaser](https://github.com/ashishb/gabo/actions/workflows/release-binary.yaml/badge.svg)](https://github.com/ashishb/gabo/actions/workflows/release-binary.yaml) [![Go report](https://img.shields.io/badge/go%20report-A+-brightgreen.svg?style=flat)](https://goreportcard.com/report/github.com/ashishb/gabo/src/gabo)\n\n![GitHub downloads](https://img.shields.io/github/downloads/ashishb/gabo/total?logo=GitHub)\n![homebrew downloads](https://img.shields.io/homebrew/v/gabo)\n\n**gabo** short for GitHub Actions Boilerplate is for ease-of-generation of GitHub actions boilerplate with good timeouts, path filters, and concurrency preventions. See [this blogpost](https://ashishb.net/tech/common-pitfalls-of-github-actions/) for more details on why the GitHub defaults aren't great.\n\nThe actions runs only on push/pull requests against `main` and `master` branch, by default.\nFeel free to add more branches if you want to runs these checks when push/pull request against any other branches.\n\n- [x] Auto-generated high quality GitHub Actions\n- [x] Better file filters\n- [x] Explicit timeout\n- [x] Auto-cancelaion of stale executions\n- [x] Better caching\n- [x] Reduced security permissions on `GITHUB_TOKEN`\n\n## Installation\n\n```bash\n$ go install github.com/ashishb/gabo/src/gabo/cmd/gabo@latest\n...\n```\n\nor via homebrew\n\n```bash\n$ brew install gabo\n...\n```\n\nOr run directly\n\n```bash\n# --dir flag is optional and defaults to current directory\ngo run github.com/ashishb/gabo/src/gabo/cmd/gabo@latest --dir=\u003cpath-to-git-dir\u003e\n```\n\n## Usage\n\n```bash\n$ gabo --help\n\nUsage of gabo:\n  -dir string\n   Path to root of git directory (default \".\")\n  -for string\n   Generate GitHub Action (options: build-android,lint-android,translate-android,compress-images,build-docker,build-npm,build-yarn,lint-docker,format-go,lint-go,check-go-releaser,lint-html,lint-markdown,validate-openapi-schema,format-python,lint-python,lint-shell-script,lint-solidity,lint-yaml,lint-github-actions,validate-render-blueprint)\n  -force\n   Force overwrite existing files (in generate mode)\n  -mode string\n   Mode to operate in: [generate analyze] (default \"analyze\")\n  -verbose\n   Enable verbose logging\n  -version\n   Prints version of the binary\n```\n\n### Sample usage - analyze a repository\n\n```bash\n# Analyze current directory (it should be the root of the repository)\n$ gabo\n\n# Analyze a different dir\n$ gabo --dir=~/src/repo1\n```\n\n### Sample usage - generate code\n\n```bash\n$ gabo --mode=generate --for=lint-docker\nWrote file .github/workflows/lint-docker.yaml\n```\n\n### Supported actions\n\n- [x] build-android\n- [x] build-docker\n- [x] build-npm\n- [x] build-yarn\n- [x] check-go-releaser\n- [x] compress-images\n- [x] format-go\n- [x] format-python\n- [x] lint-android\n- [x] lint-docker using [hadolint](https://github.com/hadolint/hadolint)\n- [x] lint-github-actions using [actionlint](https://github.com/rhysd/actionlint) and [zizmor](https://github.com/woodruffw/zizmor/)\n- [x] lint-go\n- [x] lint-html\n- [x] lint-markdown\n- [x] lint-python\n- [x] lint-shell-script\n- [x] lint-solidity\n- [x] lint-yaml\n- [x] translate-android\n- [x] validate-openapi-schema using [vacuum](https://github.com/daveshanley/vacuum) and [oasdiff](https://github.com/Tufin/oasdiff)\n- [x] validate-render-blueprint using [jsonschema](https://json-schema.org/)\n- [ ] build-rust\n- [ ] lint-rust\n","funding_links":[],"categories":["Go"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashishb%2Fgabo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fashishb%2Fgabo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashishb%2Fgabo/lists"}