Stefan Zweifel
3663a6fa3e
Update README.md
2023-01-14 18:05:16 +01:00
Stefan Zweifel
fe00d25867
Add test for multi-line commit messages
2023-01-07 12:06:10 +01:00
cong
86fb2e11b2
Fix git-auto-commit.yml ( #277 )
2023-01-03 08:17:32 +01:00
Stefan Zweifel
aeb1802648
Add _log and _set_github_output functions ( #273 )
...
* Add _set_github_output function
* Use _set_github_output in Action
* Add _log function
* Use _log in Action and fix Test Cases
* Update wording in log messages
* Update note about removal of old output syntax
Logic is now encapuslated in a single function. I don’t mind keeping it around until spring / June 2023
2022-12-22 19:45:17 +01:00
stefanzweifel
925bbcaef3
Update CHANGELOG
2022-12-02 06:50:39 +00:00
ZeroRin
3ea6ae190b
Fix "nothing to commit" error with LF/CRLF changes #241 ( #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 #241
Co-authored-by: Stefan Zweifel <hello@stefanzweifel.io>
2022-12-01 20:47:06 +01:00
Teko
976f22029f
Fix github-actions[bot] email address ( #264 )
2022-11-15 20:12:31 +01:00
Teko
ebb5756042
Fix link and text for workflow limitation ( #263 )
2022-11-13 10:06:41 +01:00
stefanzweifel
3dce995a13
Update CHANGELOG
2022-11-05 10:56:08 +00:00
Stefan Zweifel
0b007fbd11
Let Action fail if git binary can't be located ( #261 )
...
* Check if git binary exists
* Add Tests
2022-11-05 11:53:46 +01:00
dependabot[bot]
7106b2184a
Bump github/super-linter from 3 to 4 ( #258 )
...
Bumps [github/super-linter](https://github.com/github/super-linter ) from 3 to 4.
- [Release notes](https://github.com/github/super-linter/releases )
- [Changelog](https://github.com/github/super-linter/blob/main/docs/release-process.md )
- [Commits](https://github.com/github/super-linter/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: github/super-linter
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-26 19:05:48 +02:00
dependabot[bot]
f166130208
Bump bats from 1.7.0 to 1.8.2 ( #259 )
...
Bumps [bats](https://github.com/bats-core/bats-core ) from 1.7.0 to 1.8.2.
- [Release notes](https://github.com/bats-core/bats-core/releases )
- [Changelog](https://github.com/bats-core/bats-core/blob/master/docs/CHANGELOG.md )
- [Commits](https://github.com/bats-core/bats-core/compare/v1.7.0...v1.8.2 )
---
updated-dependencies:
- dependency-name: bats
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-26 19:04:33 +02:00
dependabot[bot]
021a6363fa
Bump actions/checkout from 2 to 3 ( #257 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-26 19:03:57 +02:00
Stefan Zweifel
38864a638f
Create dependabot.yml
2022-10-26 19:02:41 +02:00
stefanzweifel
393fea59ef
Update CHANGELOG
2022-10-26 16:57:18 +00:00
Stefan Zweifel
0049e3fa40
Use deprecated set-output syntax if GITHUB_OUTPUT environment is not available ( #255 )
...
* Fallback to set-output if GITHUB_OUTPUT not available
* Add Tests to cover old syntax
2022-10-26 18:55:42 +02:00
stefanzweifel
f6f7a9c351
Update CHANGELOG
2022-10-22 09:19:59 +00:00
Andrew Monshizadeh
2fde6fc18d
Replace set-output usage with GITHUB_OUTPUT ( #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
2022-10-22 10:42:11 +02:00
Stefan Zweifel
faf78595b8
Update README.md
2022-10-21 09:28:08 +02:00
stefanzweifel
a0873a0795
Update CHANGELOG
2022-10-10 17:17:41 +00:00
Stefan Zweifel
fd157da78f
Run Action on Node16 ( #247 )
...
closes #246
2022-10-10 19:15:24 +02:00
Stefan Zweifel
b208f78c10
Test that CRLF changes are not picked up
...
This PR adds a test to confirm, that changes to CRLF are not properly detected and that the message "Working tree clean. Nothing to commit." is displayed.
Setting `core.autocrlf` to `true` also has no effect here.
refs #241
2022-09-28 20:19:50 +02:00
stefanzweifel
cef08f2918
Update CHANGELOG
2022-09-24 08:53:51 +00:00
Stefan Zweifel
6c32682a40
Add bug label to new issues
2022-09-17 16:37:41 +02:00
Stefan Zweifel
a4a482b6c5
Update Issue Templates
2022-09-17 16:35:49 +02:00
Stefan Zweifel
18870f2286
Add note about line break detection
2022-09-17 16:02:44 +02:00
Stefan Zweifel
52eb0eedc8
Update README
2022-09-17 15:34:02 +02:00
Karol
03246c1cee
Changed the extended example to correctly use quotes for strings ( #196 )
...
Co-authored-by: Stefan Zweifel <stefanzweifel@users.noreply.github.com>
2022-09-17 15:33:25 +02:00
Stefan Zweifel
4d00f10668
Expand file_pattern
-input to an array ( #205 )
...
* Expand file_pattern input
* Expand file pattern array in git-status
* Add Failing Test
* Expand INPUT_FILE_PATTERN
* Fix Shellcheck Issues
* Add test to cover file expansion works when globbing is disabled
* Add explanation to README
2022-09-17 15:18:36 +02:00
Stefan Zweifel
4e7c0d67cd
Assert throws error when force adding ignored files
...
See https://github.com/stefanzweifel/git-auto-commit-action/issues/204#issuecomment-1236880360
2022-09-06 21:04:34 +02:00
Stefan Zweifel
dce7e85096
Add Tests to Cover #233
2022-07-30 20:21:57 +02:00
Stefan Zweifel
9262405709
Fix Typo in Test
2022-07-30 20:14:41 +02:00
Stefan Zweifel
32807d4f18
Upgrade Bats
2022-07-30 20:14:29 +02:00
Derrick Lee
f5b5fefa06
docs: fix typos and grammer errors in readme.md ( #235 )
2022-07-27 08:23:35 +02:00
Marco
f33e764001
fix typo in readme ( #230 )
...
remote was misspelled
2022-07-11 15:25:38 +02:00
Stefan Zweifel
f0d72a04e7
Add note about pathspec error
2022-06-29 20:24:50 +02:00
Stefan Zweifel
571d6b78ed
Add test to verify issue #227
...
This test confirms the problem mentioned in #227 .
If `file_pattern` contains a pattern of, for example 2 file extensions, and only files for one extensions are dirty but not for the otherone, `git-add` will throw a fatal error.
It does not throw an error if the files for the pattern already exist but are not dirty.
2022-06-28 20:08:10 +02:00
Stefan Zweifel
f990bd0ed1
Add Note about .gitignore
2022-06-27 20:56:36 +02:00
Eric Cornelissen
789f58e41a
Add missing links in the CHANGELOG ( #223 )
...
* Update CHANGELOG
Add missing references to Pull Requests.
* Link to PRs and Authors in upcoming release notes
Co-authored-by: Stefan Zweifel <hello@stefanzweifel.io>
2022-06-06 07:36:31 +02:00
Stefan Zweifel
79ae6eea95
Update README concerning pull_request_target trigger
...
Closes #211
2022-04-15 20:06:11 +02:00
stefanzweifel
488db3d503
Update CHANGELOG
2022-04-12 18:43:36 +00:00
Stefan Zweifel
49620cd3ed
Update README.md
2022-04-12 20:33:36 +02:00
Jonas L
73f17337ef
Use github-actions[bot] user as commit user ( #213 )
...
Fixes #212
2022-04-12 20:30:34 +02:00
Geoff
30fd9f94bc
Update README.md ( #206 )
2022-03-23 08:14:36 +01:00
Stefan Zweifel
d0487b9fa3
Update README.md
2022-03-19 07:46:33 +01:00
stefanzweifel
2719df73cd
Update CHANGELOG
2022-03-18 19:29:58 +00:00
Stefan Zweifel
c4b132ec2c
Update file_pattern related test
2022-02-27 12:10:20 +01:00
Stefan Zweifel
19c7b84a3c
Update README
2022-02-27 11:18:39 +01:00
Stefan Zweifel
ebe77391c6
Add create_branch
option to force create a new branch ( #203 )
...
* Add create_branch option
* Checkout new branch if create_branch input is true
* Add tests
* Update README
2022-02-27 07:52:17 +01:00
Stefan Zweifel
dee58f4213
Remove nbsp from entrypoint.sh
2022-02-22 20:02:04 +01:00