Commit Graph

484 Commits

Author SHA1 Message Date
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
Stefan Zweifel
248fbacc3e
Add note about scopes for PAT 2022-01-24 16:51:53 +01:00
Stefan Zweifel
2d5591a740
Merge pull request #200 from funkyfuture/patch-1 2022-01-24 16:31:37 +01:00
Frank Sachsenheim
22695fb19e
README.md: Updates hyperlink to GH docs 2022-01-24 15:55:20 +01:00
stefanzweifel
8f6736864a Update CHANGELOG 2022-01-13 18:17:02 +00:00
Stefan Zweifel
5804e42f86
Merge pull request #199 from kenodegard/disambiguate
Properly disambiguate between branch or file checkout
2022-01-12 21:08:17 +01:00
Stefan Zweifel
e3cb9ba079 Add Test Case 2022-01-12 21:05:06 +01:00
Ken Odegard
af49309116 Properly disambiguate between branch or file checkout 2022-01-11 10:21:56 -06:00
Stefan Zweifel
b244c38293
Update CHANGELOG.md 2022-01-10 20:28:24 +01:00
stefanzweifel
c463ede7c3 Update CHANGELOG 2022-01-10 19:27:51 +00:00
Stefan Zweifel
8040434425
Merge pull request #197 from cmbuckley/skip-checkout
Add `skip_checkout` option
2022-01-10 20:11:32 +01:00
Chris Buckley
fc174e2406 Add skip_checkout option 2022-01-10 00:17:58 +00:00
Stefan Zweifel
8c3ed373fb
Merge pull request #180 from ericcornelissen/docs/permissions
Add note on minimum permissions to the docs
2021-10-04 08:19:11 +02:00
Eric Cornelissen
797544dbd2 Update README.md
Add note on minimum required permission.
2021-10-03 22:18:07 +02:00
Stefan Zweifel
0d6c97e470 Update README.md 2021-09-26 11:39:31 +02:00
Stefan Zweifel
f6048aa2ac Add Test to Cover #177
refs #177
2021-09-25 16:06:43 +02:00
Stefan Zweifel
983386a337 Add update-changelog Workflow 2021-09-10 19:54:41 +02:00