{"id":22423409,"url":"https://github.com/prantlf/shelve-changes-action","last_synced_at":"2026-05-06T07:34:53.983Z","repository":{"id":203046796,"uuid":"708689463","full_name":"prantlf/shelve-changes-action","owner":"prantlf","description":"GitHub action for storing modified files to cache, to be restored by unshelve-changes-action in another job later.","archived":false,"fork":false,"pushed_at":"2024-05-07T19:43:59.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T10:43:04.430Z","etag":null,"topics":["actions","cache","changes","github","github-actions","release","store"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/shelve-changed-files","language":null,"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/prantlf.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"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}},"created_at":"2023-10-23T07:29:39.000Z","updated_at":"2024-05-07T19:44:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"5508bf03-94dc-4b31-89ba-e1235889b110","html_url":"https://github.com/prantlf/shelve-changes-action","commit_stats":null,"previous_names":["prantlf/shelve-changes-action"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prantlf%2Fshelve-changes-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prantlf%2Fshelve-changes-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prantlf%2Fshelve-changes-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prantlf%2Fshelve-changes-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prantlf","download_url":"https://codeload.github.com/prantlf/shelve-changes-action/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245791899,"owners_count":20672668,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","cache","changes","github","github-actions","release","store"],"created_at":"2024-12-05T18:11:17.423Z","updated_at":"2026-05-06T07:34:48.945Z","avatar_url":"https://github.com/prantlf.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Shelve Changed Files\n\nGitHub action for storing modified files to cache, to be restored by [unshelve-changes-action] in another job later.\n\nUses git to detect changed files.\n\n## Usage\n\nStore the modified files to cache:\n\n```yml\n- uses: prantlf/shelve-changes-action@v1\n```\n\nStore only some of the modified files to cache, if there're more modified on the disk:\n\n```yml\n- uses: prantlf/shelve-changes-action@v1\n  with:\n    add-modified: false\n    add-extra: |\n      package.json\n      CHANGELOG.md\n```\n\n## Inputs\n\nThe following parameters can be specified using the `with` object:\n\n### branches\n\nType: `String`\u003cbr\u003e\nDefault: `'main master'`\n\nBranches which this action should run for, which are used to publishing releases. Use whitespace for separating the branch names. If you want to use multiple lines in YAML, introduce them with \"\u003e-\". If you want to allow all branches, set the value to \"*\".\n\n### enable\n\nType: `Boolean`\u003cbr\u003e\nDefault: `true`\n\nCan be set to `false` to prevent this action from running. It's helpful in the pipeline, which will not continue releasing, but only building and testing, and that will be decided in the middle of a job execution.\n\n### add-modified\n\nType: `Boolean`\u003cbr\u003e\nDefault: `true`\n\nCan be set to `false` to prevent modified files from adding to the cache.\n\n### add-new\n\nType: `Boolean`\u003cbr\u003e\nDefault: `false`\n\nCan be set to `true` to add also newly created files to the cache.\n\n### add-extra\n\nType: `String`\u003cbr\u003e\n\nAdditional files for putting to cache by this action, separated by spaces. They should not be picked by `add-modified` or `add-new` to avoid duplicates in the final list.\n\n## Outputs\n\nThe following parameters can be accessed by the `github` context:\n\n### stored\n\nType: `Boolean`\u003cbr\u003e\n\nSet to `true` if the files were stored to cache.\n\n### files\n\nType: `String`\u003cbr\u003e\n\nFiles put by this action to cache, separated by spaces.\n\n### cache-key\n\nType: `String`\u003cbr\u003e\n\nThe key, which was used to store the files to cache.\n\n## License\n\nCopyright (C) 2023-2024 Ferdinand Prantl\n\nLicensed under the [MIT License].\n\n[MIT License]: http://en.wikipedia.org/wiki/MIT_License\n[unshelve-changes-action]: https://github.com/prantlf/unshelve-changes-action\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprantlf%2Fshelve-changes-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprantlf%2Fshelve-changes-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprantlf%2Fshelve-changes-action/lists"}