23 Commits
Author SHA1 Message Date
Jon Church f7615f5917 Add include-hidden-files input
# The Problem

Hidden files and directories (e.g. `.well-known`) are unconditionally excluded from the tar archive. There is no way to include them. (#129)

# The Solution

Add an `include-hidden-files` input (default `false`) that skips the `--exclude=.[^/]*` pattern when set to `true`. `.git` and `.github` are always excluded regardless. Test coverage added for the new option.

I think this is the right approach rather than #134. Keep the default behavior safe, and give a sane option to users who know what they're doing. It was safe enough for upload-artifact, it should be safe enough here.

# Context

`actions/upload-artifact` introduced hidden file exclusion and a corresponding `include-hidden-files` option in [v4.4.0](https://github.com/actions/upload-artifact/releases/tag/v4.4.0). This action adopted the same exclusion behavior in its tar step but never added the equivalent option. This PR closes that gap.

The only sane workaround without this option is to drop this action, manually create the tar, and hand it to `upload-artifact` directly. See [expressjs/expressjs.com#2173](https://github.com/expressjs/expressjs.com/pull/2173) for an example.
2026-01-30 14:03:56 -05:00
Kitty ChiuandGitHub c70484322b fix: linted README 2024-10-11 10:01:46 +11:00
e59cdfe6d6 Update README.md
Co-authored-by: Yoann Chaudet <yoannchaudet@github.com>
2024-10-11 08:09:29 +11:00
Kitty Chiu a2d6704326 doc: updated usage section in readme 2024-10-10 13:59:05 +11:00
James M. GreeneandGitHub 36a9e8110d Merge branch 'main' into JamesMGreene-patch-1 2024-05-01 21:25:02 -05:00
James M. GreeneandGitHub b443e1f622 README tidy up 2024-04-25 13:11:46 -05:00
Jess BeesandGitHub 4ee80ee697 Remove mention of file permissions in README 2024-04-25 13:48:29 -04:00
UioleeandGitHub 1a6d9fac9a Update README.md 2024-01-24 21:14:06 +08:00
James M. GreeneandGitHub 39a95dabfa Update README.md to clarify tarball size limit 2023-07-21 22:40:55 -05:00
James M. GreeneandGitHub 07f501f6a0 Update README for v2
Better topic hierarchy and more copy-paste-friendly `chmod` examples
2023-07-10 11:59:59 -05:00
James M. GreeneandGitHub 8f17ae6041 Update README.md 2023-07-10 11:48:50 -05:00
James M. GreeneandGitHub bc7aff665b Update README.md 2023-07-10 11:48:45 -05:00
Tshepang MbamboandGitHub 74d0f02a66 readme: fix/improve note about permissions 2023-06-23 11:25:45 +02:00
Fabian Aguilar GomezandGitHub a3f792f9c5 Update README.md 2023-06-19 12:48:14 -05:00
Josh SorefandGitHub 4d8166c5f5 Use absolute URL 2023-06-12 14:11:29 -04:00
James M. GreeneandGitHub 1e171d0d53 Use absolute URL 2023-02-10 21:34:01 -06:00
Waldir PimentaandGitHub c06cea93b0 Fix link to releases in README 2023-02-05 09:27:34 +00:00
James M. GreeneandGitHub 724b9438f5 Update release procedure 2022-08-10 14:12:37 -05:00
James M. GreeneandGitHub f422a5a910 Lowercase the README title 2022-08-10 14:03:15 -05:00
Yoann Chaudet 8b46ca5bf4 Document artifacts validation + reformat a few things 2022-07-13 11:47:37 -07:00
Yoann Chaudet 783c99214f Document release + add codeowners 2022-05-24 15:20:30 -07:00
Yoann Chaudet d03cb3712b Update license + README 2022-05-24 14:46:39 -07:00
Tommy ByrdandGitHub 192126ea6d Initial commit 2022-05-10 21:56:03 -04:00