-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ignore all hidden files when creating zip #102
Conversation
@@ -51,3 +51,7 @@ jobs: | |||
- name: Check for absence of symlinks | |||
run: if [ $(find artifact2 -type l | wc -l) != 0 ]; then echo "Symlinks found"; exit 1; fi | |||
shell: bash | |||
|
|||
- name: Check for absence of hidden files |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ln -s hello.txt bonjour.txt |
addtional change required ^ to generate hidden file, otherwise it test nothing :)
Sorry, but how should I upload the hidden files which is essential? |
@douyixuan For now if you opt to use this Action hidden files will be ignored. If you require these hidden files to be part of your project you may opt to not use this Action and instead utilize a different method to upload your files https://github.com/actions/upload-pages-artifact?tab=readme-ov-file#artifact-validation. |
In the upload-artifact action it excludes hidden files that could lead to sensitive data. After talking with the actions team, even though we utilize this action at the very end we upload a
.tar
fileupload-pages-artifact/action.yml
Line 80 in 1780dfc
.tar
.