[Feature] Support `if-no-files-found` like `actions/upload-artifact`
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 5.6k
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Description
Hi, I would like to have an option if-no-files-found like on actions/upload-artifact
The benefit for me that would allow me to make actions/cache & actions/cache/save fail when the provided paths match with no files.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing the referenced actions/upload-artifact action.yml lines 11-19 with the inputs and behavior of actions/cache and actions/cache/save. Define how the option should handle paths matching no files, then add coverage for the requested behavior. Done means both cache actions expose and honor the option consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, typescript
- Domain
- ci-cd, devops
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100