openrewrite / openrewrite/rewrite-github-actions

Add `timeout-minutes` to a step

Open
#59 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

recipe
Dominant language
Java
Stars
1
Forks
9
Avg merge
5h 27m
Merged PRs (30d)
12

Description

Input: jobs.<job_id>.steps[*].timeout-minutes
timeout-minutes : The maximum number of minutes to let a job run before GitHub automatically cancels it. Default: 360

See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idtimeout-minutes

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked GitHub Actions workflow syntax reference, focusing on jobs.<job_id>.steps[*].timeout-minutes and its documented default. The issue names no repository files, entry points, or tests; done means the recipe supports this step-level property and relevant tests confirm the generated workflow behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, java
Domain
ci-cd
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.