Stefan Zweifel
fe00d25867
Add test for multi-line commit messages
2023-01-07 12:06:10 +01: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
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
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
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
Stefan Zweifel
79ae6eea95
Update README concerning pull_request_target trigger
...
Closes #211
2022-04-15 20:06:11 +02:00
Stefan Zweifel
49620cd3ed
Update README.md
2022-04-12 20:33:36 +02: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
dee58f4213
Remove nbsp from entrypoint.sh
2022-02-22 20:02:04 +01:00
Stefan Zweifel
e3cb9ba079
Add Test Case
2022-01-12 21:05:06 +01: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
Stefan Zweifel
b8ff4cd716
Add release-drafter Workflow
2021-09-10 19:53:48 +02:00
Stefan Zweifel
abd87b7d94
Release v4.12.0
2021-09-10 19:47:39 +02:00
Stefan Zweifel
54cc2186d1
Remove unwanted chars from tests
2021-09-10 19:47:01 +02:00
Stefan Zweifel
27ac2f0a7b
Update README
2021-08-18 20:43:30 +02:00
Stefan Zweifel
053f356774
Improve amend section in README
...
refs #159
2021-05-22 11:34:55 +02:00
Stefan Zweifel
46af2f08b3
Add Example for —amend to README
...
refs #159
2021-05-20 20:30:05 +02:00
Stefan Zweifel
5dd17c3b53
Release v4.11.0
2021-05-03 21:01:59 +02:00
Stefan Zweifel
ebbf8e517a
Update README
2021-05-03 20:54:47 +02:00
Stefan Zweifel
76f1ae2f1a
Add Credits to README
2021-05-03 20:23:02 +02:00
Stefan Zweifel
b9c536534c
Add new *_options to README
2021-05-03 20:22:53 +02:00
Stefan Zweifel
48d37c1ffb
Tag v4.10.0
2021-04-12 21:04:42 +02:00
Stefan Zweifel
3053f48bdd
Update Comments
2021-04-10 17:13:22 +02:00
Stefan Zweifel
cfd366418e
Update README
2021-04-10 17:11:30 +02:00
Stefan Zweifel
be370eccae
Create flag to disable globbing
2021-04-10 17:10:27 +02:00
Stefan Zweifel
f4f9aedbee
Set noglob in git-auto-commit
2021-04-10 16:58:48 +02:00
Stefan Zweifel
e610a5104b
Add failing test
2021-04-10 16:53:50 +02:00
Stefan Zweifel
be7095c202
Release v4.9.2
2021-03-04 17:53:06 +01:00
Stefan Zweifel
ae9ae1b5b8
Update Changelog
2021-03-02 20:21:56 +01:00
Stefan Zweifel
9bb0fd2324
Push tags by using —follow-tags and —atomic
...
By using —follow-tags we push all annotated tags alongside the commit to the remote repository.
In addition, we’re using —atomic. This ensures that all refs are updated.
- https://github.blog/2015-04-30-git-2-4-atomic-pushes-push-to-deploy-and-more/#atomic-pushes
- https://stackoverflow.com/a/3745250
- https://therightstuff.medium.com/the-rights-and-wrongs-of-git-push-with-tags-998667eaed8f
2021-02-26 20:17:32 +01:00
Stefan Zweifel
175c2cd836
Add failing tests
2021-02-26 19:44:37 +01:00
Stefan Zweifel
296e083b4c
Tag v4.9.1
2021-02-23 21:18:33 +01:00
Stefan Zweifel
3870982ac5
Improve Names of test repo folders
2021-02-23 20:08:01 +01:00
Stefan Zweifel
268ec0c240
Release v4.9.0
2021-02-20 20:34:30 +01:00
Stefan Zweifel
1aee6e6b46
Make Linter Happy
2021-02-07 16:14:11 +01:00
Stefan Zweifel
94941cff88
Cleanup Code
2021-02-07 16:09:59 +01:00
Stefan Zweifel
7507738fca
Use git branch --list
2021-02-07 16:07:43 +01:00
Stefan Zweifel
53438d58ce
Create new branch if NAME is given
2021-02-07 15:44:48 +01:00
Stefan Zweifel
8056699617
Add Testcase
2021-02-07 15:44:12 +01:00
Stefan Zweifel
520c63c171
Add Link to Article
2021-02-06 19:11:12 +01:00
Stefan Zweifel
40b55695d1
Add Test
2021-01-18 20:31:50 +01:00
Stefan Zweifel
75802d269e
Release v4.8.0
2020-12-15 20:53:30 +01:00
Stefan Zweifel
292ae30da6
Add skip_fetch to README
2020-12-15 20:45:42 +01:00
Stefan Zweifel
b53a2f8baf
Set --depth to 1
2020-12-15 20:30:42 +01:00
Stefan Zweifel
a9021d5359
Add skip_fetch input option
...
This new option will allow users to skip the execution of `git fetch` if it has a negative impact in their workflows.
In a future PR I will probably remove the call to git-fetch interely. It was added in #108 in relation to a problem with slashes in branch names. That problem wasn't properly fixed though.
2020-12-13 09:31:16 +01:00
Stefan Zweifel
fafea853e8
Set depth on git-fetch
2020-12-13 09:22:38 +01:00
--global
b104287145
Update README
2020-11-25 21:06:22 +01:00
--global
b8b8026fe4
Improve Assertions
2020-11-25 21:04:32 +01:00
--global
fae0e424e9
Remove old Integration Tests Workflow
2020-11-25 20:47:28 +01:00
--global
a1604ef1d5
Update .gitignore
2020-11-25 20:31:12 +01:00
--global
152b8c00c6
Move git user config
2020-11-25 20:28:15 +01:00
--global
8edcd8b718
Debug failed Workflow run
2020-11-25 20:26:43 +01:00
Stefan Zweifel
8f9132651a
Update Order how git user is configured
2020-11-25 20:23:17 +01:00
Stefan Zweifel
6c72ab7799
Use git config --global to setup repo
2020-11-25 20:21:26 +01:00
Stefan Zweifel
983b799941
Output Commit User, Author and Message variables
2020-11-25 20:19:39 +01:00
Stefan Zweifel
bee2ad60b0
Rewrite Tests
2020-11-25 20:18:56 +01:00
Stefan Zweifel
ac4585b8d5
Update Tests Workflow
2020-11-25 20:18:52 +01:00
Stefan Zweifel
4e7742676e
Install bats-assert and bats-support dependencies
2020-11-25 20:18:43 +01:00
Stefan Zweifel
2e61cc5f41
Add "Used By" Badge
2020-11-02 20:14:07 +01:00
Stefan Zweifel
021e855056
Improve Wording in the Intro of the README
2020-10-28 20:27:07 +01:00
Stefan Zweifel
7cec9acee6
Improve Example
2020-10-28 20:26:58 +01:00
Stefan Zweifel
bbd291750d
Release v4.7.2
2020-10-24 11:41:07 +02:00
Stefan Zweifel
4a75a2e723
Disable shellsheck for git-checkout
2020-10-24 11:33:52 +02:00
Stefan Zweifel
4bab898d25
Create Remote Branch before running Action
2020-10-22 19:52:43 +02:00
Stefan Zweifel
45872c3c23
Fix Typo in CHANGELOG
2020-10-22 07:38:33 +02:00
Stefan Zweifel
9b7c21583c
Release v4.7.1
2020-10-22 07:37:21 +02:00
Stefan Zweifel
4cc90c7784
Fix Linter Errors
2020-10-22 07:37:16 +02:00
Stefan Zweifel
30cd17bff0
Merge branch 'master' of github.com:stefanzweifel/git-auto-commit-action
2020-10-21 20:45:48 +02:00
Stefan Zweifel
8f5b58c89c
Tag v4.7.0
2020-10-21 20:45:37 +02:00
Stefan Zweifel
6b4ef1444c
Add Badge
2020-10-17 14:52:58 +02:00
Stefan Zweifel
55291ea168
Rename Step
2020-10-17 14:51:58 +02:00
Stefan Zweifel
2b5c86365b
Delete Remote Branch
2020-10-17 14:46:50 +02:00
Stefan Zweifel
ff28943460
Add Integration Tests
2020-10-17 14:29:42 +02:00
Stefan Zweifel
e3610414be
Update README
2020-10-17 14:15:18 +02:00
Stefan Zweifel
042c3265d5
Update README
2020-10-17 14:14:28 +02:00
Stefan Zweifel
90cedba8bc
Upgrade bats to v1.2.1
2020-10-16 19:26:44 +02:00
Stefan Zweifel
653ea719ea
Update Changelog
2020-10-15 21:15:41 +02:00
Stefan Zweifel
1ba48c6d7f
Fix Linter Errors in entrypoint.sh
2020-10-15 20:30:26 +02:00
Stefan Zweifel
b9e4cea0ef
Disable Markdown Linter
2020-10-15 20:30:19 +02:00
Stefan Zweifel
cfdb7e609e
Add checkout_options to README
2020-10-15 20:26:03 +02:00
Stefan Zweifel
849613a3ad
Add test to cover checkout-options
2020-10-15 20:23:04 +02:00
Stefan Zweifel
0ee9fb7263
Add checkout_options
2020-10-15 20:21:08 +02:00
Stefan Zweifel
6456430b6b
Ignore shellchecks
2020-10-15 20:15:31 +02:00
Stefan Zweifel
7f67b0b49b
Rename Test
2020-10-14 20:28:01 +02:00
Stefan Zweifel
872d72f1ae
Update Tests
2020-10-12 16:33:12 +02:00
Stefan Zweifel
44aeb24da7
Fix Typo in Changelog
2020-10-11 20:36:41 +02:00
Stefan Zweifel
5c9bfe7477
Tag v4.6.0
2020-10-11 20:34:17 +02:00
Stefan Zweifel
8f243393e7
Link Tests Badge
2020-10-11 11:47:09 +02:00
Stefan Zweifel
a818c89e49
Add can-work-with-empty-branch-name-and-tags test
2020-10-11 11:24:53 +02:00