Add option to allow files/directories in .gitignore to be copied to container (#537)

* disable gitignore for actions

* feat: Add option to allow/disallow paths specified in .gitignore

Co-authored-by: Alan Birtles <alan.birtles@eu.sony.com>
此提交包含在:
Ryan (hackercat)
2021-05-03 16:37:20 +02:00
提交者 GitHub
父節點 ea7503bc25
當前提交 7ae9916de0
共有 7 個檔案被更改,包括 20 行新增12 行删除

查看文件

@@ -108,6 +108,7 @@ It will save that information to `~/.actrc`, please refer to [Configuration](#co
-r, --reuse reuse action containers to maintain state
-s, --secret stringArray secret to make available to actions with optional value (e.g. -s mysecret=foo or -s mysecret)
--secret-file string file with list of secrets to read from (e.g. --secret-file .secrets) (default ".secrets")
--use-gitignore Controls whether paths specified in .gitignore should be copied into container (default true)
--userns string user namespace to use
-v, --verbose verbose output
-w, --watch watch the contents of the local repo and run when files change