Commit Graph

473 Commits

Author SHA1 Message Date
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
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
216b25a401
Merge pull request #172 from webignition/issue-171
Output hash of created commit
2021-09-10 19:41:23 +02:00
Jon Cram
05aea7e2d9 Add commit_hash output description to readme 2021-09-10 14:37:45 +01:00
Jon Cram
68fd92dd9c Output hash of created commit 2021-09-10 14:37:45 +01:00
Stefan Zweifel
0426839718
Merge pull request #173 from webignition/run-checks-on-pull-request
Run git-auto-commit, linter and tests checks on pull requests
2021-09-10 15:32:18 +02:00
Stefan Zweifel
97badfaf41
Revert Linter to only run on push event 2021-09-10 15:31:37 +02:00
Jon Cram
10257e2994 Run git-auto-commit, linter and tests checks on pull requests 2021-09-10 13:49:19 +01:00
Stefan Zweifel
e107e28c4e
Update README.md 2021-08-19 08:37:15 +02:00
Stefan Zweifel
6834afe239
Update README.md 2021-08-18 20:49:52 +02:00