Tags: CiscoOpsStack/git-auto-commit-action
Tags
Fail if attempting to execute git commands in a directory that is not… … a git-repo. (stefanzweifel#326) * Fail (and log message) if attempting to execute git commands in a directory that is not a git-repo. * Add Test * Code Formatting --------- Co-authored-by: Constantin Comendant <constantin@uberagent.com> Co-authored-by: Stefan Zweifel <stefan@stefanzweifel.dev>
Update node version to node20 (stefanzweifel#300) Co-authored-by: ryudai.takai
Fix "nothing to commit" error with LF/CRLF changes stefanzweifel#241 (s… …tefanzweifel#265) * fix crlf test * add diff check before commit * add dirty check flag (not sure if needed) * Update test name and add more assertions Update test name to make it clear that the Action no longer fails to detect CRLF changes. * Add Comment to explain why we use git-diff again * Add test to confirm content changes are commited * Closes stefanzweifel#241 Co-authored-by: Stefan Zweifel <hello@stefanzweifel.io>
Fix "nothing to commit" error with LF/CRLF changes stefanzweifel#241 (s… …tefanzweifel#265) * fix crlf test * add diff check before commit * add dirty check flag (not sure if needed) * Update test name and add more assertions Update test name to make it clear that the Action no longer fails to detect CRLF changes. * Add Comment to explain why we use git-diff again * Add test to confirm content changes are commited * Closes stefanzweifel#241 Co-authored-by: Stefan Zweifel <hello@stefanzweifel.io>
Let Action fail if git binary can't be located (stefanzweifel#261) * Check if git binary exists * Add Tests
Use deprecated set-output syntax if GITHUB_OUTPUT environment is not … …available (stefanzweifel#255) * Fallback to set-output if GITHUB_OUTPUT not available * Add Tests to cover old syntax
Replace set-output usage with GITHUB_OUTPUT (stefanzweifel#252) * GitHub has deprecated set-output and now needs to add the content to the GITHUB_OUTPUT file * Update tests too * Fix tests and shell-format changes * Revert yarn.lock changes
PreviousNext