{"id":20217778,"url":"https://github.com/pforret/bashew_github_action","last_synced_at":"2026-05-18T06:36:41.035Z","repository":{"id":61559547,"uuid":"552486437","full_name":"pforret/bashew_github_action","owner":"pforret","description":"Use bashew for a Github Action","archived":false,"fork":false,"pushed_at":"2022-10-16T21:31:19.000Z","size":3112,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-13T23:34:33.906Z","etag":null,"topics":["bashew","github-actions"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pforret.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-10-16T17:48:59.000Z","updated_at":"2024-02-25T22:56:20.000Z","dependencies_parsed_at":"2022-10-19T22:45:21.901Z","dependency_job_id":null,"html_url":"https://github.com/pforret/bashew_github_action","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":"pforret/bashew","purl":"pkg:github/pforret/bashew_github_action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pforret%2Fbashew_github_action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pforret%2Fbashew_github_action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pforret%2Fbashew_github_action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pforret%2Fbashew_github_action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pforret","download_url":"https://codeload.github.com/pforret/bashew_github_action/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pforret%2Fbashew_github_action/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33167745,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T05:43:36.989Z","status":"ssl_error","status_checked_at":"2026-05-18T05:43:19.133Z","response_time":71,"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":["bashew","github-actions"],"created_at":"2024-11-14T06:35:38.715Z","updated_at":"2026-05-18T06:36:41.010Z","avatar_url":"https://github.com/pforret.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"![bash_unit CI](https://github.com/pforret/bashew_github_action/workflows/bash_unit%20CI/badge.svg)\n![Shellcheck CI](https://github.com/pforret/bashew_github_action/workflows/Shellcheck%20CI/badge.svg)\n[![Screenshot](https://github.com/pforret/bashew_github_action/actions/workflows/shots.yml/badge.svg)](https://github.com/pforret/bashew_github_action/actions/workflows/shots.yml)\n\n![GH Language](https://img.shields.io/github/languages/top/pforret/bashew_github_action)\n![GH stars](https://img.shields.io/github/stars/pforret/bashew_github_action)\n![GH tag](https://img.shields.io/github/v/tag/pforret/bashew_github_action)\n![GH License](https://img.shields.io/github/license/pforret/bashew_github_action)\n[![basher install](https://img.shields.io/badge/basher-install-white?logo=gnu-bash\u0026style=flat)](https://www.basher.it/package/)\n\n# bashew_github_action\n\nUse bashew for a Github Action\n\ncf [blog.forret.com/2022/10/15/bashew-github-action/](https://blog.forret.com/2022/10/15/bashew-github-action/)\n\n## 🔥 Usage\n\n```php\nProgram : bashew_github_action  by peter@forret.com\nVersion : v1.0.0 (2022-10-16 20:42)\nPurpose : Use bashew for a Github Action\nUsage   : bashew_github_action [-h] [-q] [-v] [-f] [-l \u003clog_dir\u003e] [-t \u003ctmp_dir\u003e] [-o \u003cout_dir\u003e] [-w \u003cwidth\u003e] [-h \u003cheight\u003e] \u003caction\u003e\nFlags, options and parameters:\n    -h|--help        : [flag] show usage [default: off]\n    -q|--quiet       : [flag] no output [default: off]\n    -v|--verbose     : [flag] also show debug messages [default: off]\n    -f|--force       : [flag] do not ask for confirmation (always yes) [default: off]\n    -l|--log_dir \u003c?\u003e : [option] folder for log files   [default: log]\n    -t|--tmp_dir \u003c?\u003e : [option] folder for temp files  [default: tmp]\n    -o|--out_dir \u003c?\u003e : [option] folder for output files  [default: output]\n    -w|--width \u003c?\u003e   : [option] screenshot width  [default: 1080]\n    -h|--height \u003c?\u003e  : [option] screenshot height  [default: 720]\n    \u003caction\u003e         : [choice] action to perform  [options: gha:before,gha:execute,gha:after,check,env,update]\nCheck for latest version - git@github.com:pforret/bashew_github_action.git\n### TIPS \u0026 EXAMPLES\n* use \"bashew_github_action gha:before\" to install all necessary software before running the main payload\n  bashew_github_action gha:before\n* use \"bashew_github_action gha:execute\" to run the main payload of the action\n  bashew_github_action gha:execute\n* use \"bashew_github_action gha:after\" to check in and commit results to repo\n  bashew_github_action gha:after\n* use \"bashew_github_action check\" to check if this script is ready to execute and what values the options/flags are\n  bashew_github_action check\n* use \"bashew_github_action env\" to generate an example .env file\n  bashew_github_action env \u003e .env\n* use \"bashew_github_action update\" to update to the latest version\n  bashew_github_action update\n* \u003e\u003e\u003e bash script created with pforret/bashew\n* \u003e\u003e\u003e for bash development, also check IO:print pforret/setver and pforret/IO:progressbar\n```\n\n## ⚡️ Examples\n\nuse `bashew` in your Github Actions to do easy preliminary installations, execution and cleanup/commit afterwards.\n```yml\njobs:\n  your-action-name:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    (...)\n    - name: gha:before\n      run: |\n        ./bashew_github_action.sh gha:before\n    - name: gha:execute\n      run: |\n        ./bashew_github_action.sh gha:execute\n    - name: gha:after\n      run: |-\n        ./bashew_github_action.sh gha:after\n```\n\nThere's an example in the [.github/workflows/shots.yml](https://github.com/pforret/bashew_github_action/blob/master/.github/workflows/shots.yml) for this repo\n\n## 🚀 Installation\n\nwith [basher](https://github.com/basherpm/basher)\n\n\t$ basher install pforret/bashew_github_action\n\nor with `git`\n\n\t$ git clone https://github.com/pforret/bashew_github_action.git\n\t$ cd bashew_github_action\n\n## 📝 Acknowledgements\n\n* script created with [bashew](https://github.com/pforret/bashew)\n\n\u0026copy; 2022 Peter Forret\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpforret%2Fbashew_github_action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpforret%2Fbashew_github_action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpforret%2Fbashew_github_action/lists"}