Commit Graph

509 Commits

Author SHA1 Message Date
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 e944668910
Merge pull request #146 from stefanzweifel/fixes/145
Push Tags along with Commits
2021-03-02 20:20:29 +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 871ade1c45
Merge pull request #144 from stefanzweifel/revert-140-feature/create-new-branch-during-checkout
Revert "Feature: Create a new branch, if the given branch name doesn't exist yet"
2021-02-23 21:16:57 +01:00
Stefan Zweifel 75625df4f3
Revert "Feature: Create a new branch, if the given branch name doesn't exist yet" 2021-02-23 21:14:19 +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 9abc4c41e5
Merge pull request #140 from stefanzweifel/feature/create-new-branch-during-checkout
Feature: Create a new branch, if the given branch name doesn't exist yet
2021-02-20 20:29:23 +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 a6006229e0
Merge pull request #138 from stefanzweifel/test-rm-is-tracked
Add Test to verify that removed files are picked up by the Action
2021-01-18 20:34:44 +01:00
Stefan Zweifel 40b55695d1 Add Test 2021-01-18 20:31:50 +01:00
Stefan Zweifel 8f33b6cc31
Merge pull request #136 from palmerabollo/patch-1
docs: minor typo
2021-01-15 15:21:34 +01:00
Guido García c4ab3ecb7e
docs: minor typo 2021-01-15 15:19:06 +01:00
Stefan Zweifel 350754fe3a
Update LICENSE 2021-01-08 17:31:07 +01:00
Stefan Zweifel 75802d269e Release v4.8.0 2020-12-15 20:53:30 +01:00
Stefan Zweifel 5b85132a3c
Merge pull request #131 from stefanzweifel/git-fetch-depth
Set --depth on git-fetch and make call to git-fetch optional
2020-12-15 20:48:50 +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
Stefan Zweifel 6576a06e26
Merge pull request #128 from stefanzweifel/refactor/better-integration-tests
Rewrite Test Suite to no longer mock git
2020-11-25 21:11:30 +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 114a5e6044
Merge pull request #122 from stefanzweifel/revert-113-pr/complex-branches-2
Revert "Fix checking out branch names with / chars"
2020-10-24 11:36:23 +02:00
Stefan Zweifel 4a75a2e723 Disable shellsheck for git-checkout 2020-10-24 11:33:52 +02:00