{"repo":"suzuki-shunsuke/ghatm","free":true,"listed":false,"github":"https://github.com/suzuki-shunsuke/ghatm","clone":"git clone https://github.com/suzuki-shunsuke/ghatm.git","description":"Set timeout-minutes to all GitHub Actions jobs","language":"Go","stars":39,"topics":["cli","github-actions","oss"],"license":"MIT","category":"cli-tools","readme_excerpt":"ghatm ghatm is a command line tool setting timeout-minutes to all GitHub Actions jobs. It finds GitHub Actions workflows and adds timeout-minutes to jobs which don't have the setting. It edits workflow files while keeping YAML comments, indents, empty lines, and so on. Motivation - https://exercism.org/docs/building/github/gha-best-practices#h-set-timeouts-for-workflows - job timeout minutes is required suzuki-shunsuke/ghalint - job timeout minutes is required lintnet-modules/ghalint timeout-minutes should be set properly, but it's so bothersome to fix a lot of workflow files by hand. ghatm fixes them automatically. How to install ghatm is a single binary written in Go. So you only need to put the executable binary into $PATH . 1. Homebrew 2. Scoop 3. aqua 4. Download a prebuilt binary from GitHub Releases and install it into $PATH Verify downloaded assets from GitHub Releases You can verify downloaded assets using some tools. 1. GitHub CLI 1. slsa-verifier 1. Cosign -- 1. GitHub CLI ghatm = v0.3.3 You can install GitHub CLI by aqua. Output: 2. slsa-verifier You can install slsa-verifier by aqua. Output: 3. Cosign You can install Cosign by aqua. Output: After verifying the checksum, verify the artifact. 5. Go How to use Please run ghatm set on the repository root directory. Then ghatm checks GitHub Actions workflows ^\\.github/workflows/. \\.ya?ml$ and sets timeout-minutes: 30 to jobs not having timeout-minutes . Jobs with timeout-minutes aren't changed. You can specify the val","default_branch":null,"files":null,"tree":[],"storefront":"/r/suzuki-shunsuke","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/suzuki-shunsuke/ghatm/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}