stefanzweifel and github-actions[bot]
53ee9ba4a3
Update CHANGELOG
2026-06-28 09:33:11 +00:00
Stefan Zweifel and GitHub
9f6c933320
Add hooks to run shell snippets around git operations ( #411 )
...
* feat: add _run_hook helper and eight hook inputs
* fix(_run_hook): default snippet to empty when arg unset
* feat: wire add/commit hooks into _main
* feat: wire tag and push hooks into _main
* test: verify failing hook aborts the action
* docs: document hooks system in README
* test: tighten failing-hook assertion
* docs(hooks): note set -eu semantics for snippet authors
* refactor(hooks): rename action inputs to suffix with _hook
* refactor(hooks): include _hook suffix in event identifier
* docs(hooks): add notes about security implications of hooks
2026-06-28 10:52:27 +02:00
Stefan Zweifel and GitHub
c365a749b4
Emit warning for pull_request_target trigger usage ( #410 )
...
* Emit warning when used with pull_request_target trigger
2026-06-27 14:33:12 +02:00
stefanzweifel and github-actions[bot]
b811de3f2d
Update CHANGELOG
2025-12-17 19:26:02 +00:00
stefanzweifel and github-actions[bot]
8fa7f5a3c5
Update CHANGELOG
2025-10-12 14:39:35 +00:00
Stefan Zweifel and GitHub
28e16e8177
Release preparations for v7 ( #394 )
2025-10-12 16:31:03 +02:00
Stefan Zweifel and GitHub
698fd76863
Merge pull request #391 from EliasBoulharts/custom-tag-message
2025-10-12 15:13:29 +02:00
Stefan Zweifel and GitHub
a88dc49508
Merge pull request #388 from stefanzweifel/v7-next
2025-10-12 14:02:15 +02:00
Stefan Zweifel and GitHub
a531deca6b
Merge pull request #386 from stefanzweifel/dependabot/github_actions/actions/checkout-5
2025-10-12 13:40:50 +02:00
Stefan Zweifel and GitHub
acbe8b15bf
Merge pull request #393 from stefanzweifel/v7-warn-detached-head
2025-09-30 16:54:18 +02:00
Stefan Zweifel and GitHub
d2e5cae4c6
Merge pull request #389 from stefanzweifel/v7-node-24
...
Run Action on Node 24
2025-09-22 07:20:05 +02:00
Stefan Zweifel and GitHub
01d77ca6cb
Merge pull request #382 from stefanzweifel/dependabot/github_actions/stefanzweifel/git-auto-commit-action-6
2025-06-16 09:45:04 +02:00
stefanzweifel and github-actions[bot]
66f124b8c2
Update CHANGELOG
2025-06-11 11:27:36 +00:00
Stefan Zweifel and GitHub
778341af66
Merge pull request #379 from stefanzweifel/disable-detached-state-check
2025-06-11 13:26:39 +02:00
stefanzweifel and github-actions[bot]
a82d80a75f
Update CHANGELOG
2025-06-10 18:44:47 +00:00
Stefan Zweifel and GitHub
3cc016cfc8
Merge pull request #375 from stefanzweifel/v6-next
2025-06-10 20:19:14 +02:00
Stefan Zweifel and GitHub
ddb7ae4159
Merge pull request #376 from Dreamsorcerer/patch-1
2025-06-02 21:38:08 +02:00
Stefan Zweifel and GitHub
b001e5f0ff
Apply suggestions from code review
2025-06-02 21:37:45 +02:00
Stefan Zweifel and GitHub
ae114628ea
Merge pull request #371 from stefanzweifel/dependabot/npm_and_yarn/bats-1.12.0
2025-05-19 09:43:11 +02:00
stefanzweifel and github-actions[bot]
af302a9c63
Update CHANGELOG
2025-04-19 08:40:01 +00:00
Stefan Zweifel and GitHub
b863ae1933
Merge pull request #367 from stefanzweifel/stefanzweifel/git_tag_only_changes
...
Add Test for create_git_tag_only feature
2025-04-19 10:33:31 +02:00
Stefan Zweifel and GitHub
11a6e5f38f
Merge pull request #364 from zmynx/master
...
feat: allow for clean tag pushing
2025-04-19 10:23:02 +02:00
Stefan Zweifel and GitHub
e256565ae5
Merge pull request #361 from rasa/patch-1
...
docs: Update README.md per #354
2025-03-13 20:29:15 +01:00
Stefan Zweifel and GitHub
ed295bd35a
Merge pull request #357 from stefanzweifel/v6-detect-detached-state
2025-02-05 18:00:42 +01:00
Stefan Zweifel and GitHub
9fa4cb99cf
Merge pull request #314 from stefanzweifel/v6/remove-local-branch-switch
2025-02-05 16:01:10 +01:00
stefanzweifel and github-actions[bot]
e35726034b
Update CHANGELOG
2025-01-11 07:12:19 +00:00
Stefan Zweifel and GitHub
e348103e90
Merge pull request #354 from parkerbxyz/patch-1
2025-01-11 08:10:58 +01:00
stefanzweifel and github-actions[bot]
896cc0d225
Update CHANGELOG
2024-04-12 06:47:58 +00:00
stefanzweifel and github-actions[bot]
e27a68931b
Update CHANGELOG
2023-10-06 17:55:19 +00:00
Stefan Zweifel and GitHub
10944650cd
Use actions/checkout v4 in examples
...
https://github.com/stefanzweifel/git-auto-commit-action/pull/302#issuecomment-1745974288
2023-10-04 15:33:04 +02:00
Stefan Zweifel and GitHub
3b94e3d017
Update README.md
...
Closes #281
2023-01-20 15:31:53 +01:00
Stefan Zweifel and GitHub
3663a6fa3e
Update README.md
2023-01-14 18:05:16 +01:00
Stefan Zweifel and GitHub
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 and github-actions[bot]
925bbcaef3
Update CHANGELOG
2022-12-02 06:50:39 +00:00
stefanzweifel and github-actions[bot]
3dce995a13
Update CHANGELOG
2022-11-05 10:56:08 +00:00
Stefan Zweifel and GitHub
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
Stefan Zweifel and GitHub
38864a638f
Create dependabot.yml
2022-10-26 19:02:41 +02:00
stefanzweifel and github-actions[bot]
393fea59ef
Update CHANGELOG
2022-10-26 16:57:18 +00:00
Stefan Zweifel and GitHub
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 and github-actions[bot]
f6f7a9c351
Update CHANGELOG
2022-10-22 09:19:59 +00:00
Stefan Zweifel and GitHub
faf78595b8
Update README.md
2022-10-21 09:28:08 +02:00
stefanzweifel and github-actions[bot]
a0873a0795
Update CHANGELOG
2022-10-10 17:17:41 +00:00
Stefan Zweifel and GitHub
fd157da78f
Run Action on Node16 ( #247 )
...
closes #246
2022-10-10 19:15:24 +02:00
stefanzweifel and github-actions[bot]
cef08f2918
Update CHANGELOG
2022-09-24 08:53:51 +00:00
Stefan Zweifel and GitHub
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
stefanzweifel and GitHub Actions
488db3d503
Update CHANGELOG
2022-04-12 18:43:36 +00:00
Stefan Zweifel and GitHub
d0487b9fa3
Update README.md
2022-03-19 07:46:33 +01:00
stefanzweifel and GitHub Actions
2719df73cd
Update CHANGELOG
2022-03-18 19:29:58 +00:00
Stefan Zweifel and GitHub
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 and GitHub
248fbacc3e
Add note about scopes for PAT
2022-01-24 16:51:53 +01:00
Stefan Zweifel and GitHub
2d5591a740
Merge pull request #200 from funkyfuture/patch-1
2022-01-24 16:31:37 +01:00
stefanzweifel and GitHub Actions
8f6736864a
Update CHANGELOG
2022-01-13 18:17:02 +00:00
Stefan Zweifel and GitHub
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 and GitHub
b244c38293
Update CHANGELOG.md
2022-01-10 20:28:24 +01:00
stefanzweifel and GitHub Actions
c463ede7c3
Update CHANGELOG
2022-01-10 19:27:51 +00:00
Stefan Zweifel and GitHub
8040434425
Merge pull request #197 from cmbuckley/skip-checkout
...
Add `skip_checkout` option
2022-01-10 20:11:32 +01:00
Stefan Zweifel and GitHub
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
Stefan Zweifel and GitHub
216b25a401
Merge pull request #172 from webignition/issue-171
...
Output hash of created commit
2021-09-10 19:41:23 +02:00
Stefan Zweifel and GitHub
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 and GitHub
97badfaf41
Revert Linter to only run on push event
2021-09-10 15:31:37 +02:00
Stefan Zweifel and GitHub
e107e28c4e
Update README.md
2021-08-19 08:37:15 +02:00
Stefan Zweifel and GitHub
6834afe239
Update README.md
2021-08-18 20:49:52 +02:00
Stefan Zweifel and GitHub
3568db7bbc
Add note about bash dependency
2021-07-13 20:18:17 +02:00
Stefan Zweifel and GitHub
68f0d95687
Merge pull request #156 from funkjedi/status-add-options
...
Add options for git add/status commands
2021-05-03 17:43:58 +02:00
Stefan Zweifel and GitHub
4c05e3d58e
Merge pull request #154 from stefanzweifel/fixes/153
...
Add "disable_globbing" option to prevent shell from expanding filenames
2021-04-12 20:54:39 +02:00
Stefan Zweifel and GitHub
e944668910
Merge pull request #146 from stefanzweifel/fixes/145
...
Push Tags along with Commits
2021-03-02 20:20:29 +01:00
Stefan Zweifel and GitHub
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 and GitHub
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 and GitHub
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 and GitHub
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 and GitHub
8f33b6cc31
Merge pull request #136 from palmerabollo/patch-1
...
docs: minor typo
2021-01-15 15:21:34 +01:00
Stefan Zweifel and GitHub
350754fe3a
Update LICENSE
2021-01-08 17:31:07 +01:00
Stefan Zweifel and GitHub
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 and GitHub
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
Stefan Zweifel and GitHub
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 and GitHub
1e826be61c
Revert "Fix checking out branch names with / chars"
2020-10-24 11:28:52 +02:00
Stefan Zweifel and GitHub
367938329d
Merge pull request #120 from stefanzweifel/revert-115-feature/checkout-options
...
Revert "Feature: Checkout Options"
2020-10-22 07:35:11 +02:00
Stefan Zweifel and GitHub
25cac34d8d
Revert "Feature: Checkout Options"
2020-10-22 07:33:38 +02:00
Stefan Zweifel and GitHub
65928d2898
Merge pull request #118 from stefanzweifel/tests-on-github-actions
...
Test Action through GitHub Actions ♾️
2020-10-17 14:59:06 +02:00
Stefan Zweifel and GitHub
b833fe0e9d
Update Code Example for pull_request_target trigger
2020-10-16 09:18:41 +02:00
Stefan Zweifel and GitHub
47c724214a
Merge pull request #115 from stefanzweifel/feature/checkout-options
...
Feature: Checkout Options
2020-10-15 20:36:06 +02:00
Stefan Zweifel and GitHub
8700c3bc1c
Merge pull request #113 from docwhat/pr/complex-branches-2
...
Fix checking out branch names with / chars
2020-10-12 16:34:53 +02:00
Stefan Zweifel and GitHub
9c1e5d1c6a
Merge pull request #111 from francescobianco/patch-1
...
Update README.md
2020-10-12 08:18:24 +02:00
Stefan Zweifel and GitHub
814219db13
Merge pull request #110 from Aebrathia/patch-1
...
Make commit_message optional #103
2020-10-11 20:16:25 +02:00
Stefan Zweifel and GitHub
a204abce16
Update action.yml
2020-10-11 20:14:15 +02:00
Stefan Zweifel and GitHub
fc5b9bf8cf
Merge pull request #109 from stefanzweifel/improve-testsuite
...
Expand existing BATS Test Suite to cover every feature
2020-10-11 11:44:48 +02:00
Stefan Zweifel and GitHub
a9d1ac4f06
Merge pull request #108 from stefanzweifel/fetch-repo-before-checkout
...
Better support branches with special characters in them
2020-10-10 19:19:48 +02:00
Stefan Zweifel and GitHub
60c96d8c0d
Merge pull request #107 from docwhat/pr/superlinter
...
Use SuperLinter instead of only shellcheck
2020-10-10 16:18:15 +02:00
Stefan Zweifel and GitHub
16d2bf88fd
Remove Comments from Workflow
2020-10-10 16:17:58 +02:00
Stefan Zweifel and GitHub
f922a52bf1
Use "main" as branch name in example
2020-10-06 09:13:19 +02:00
Stefan Zweifel and GitHub
0bf17c328a
Fix Example using changes_detected output
2020-10-06 09:11:36 +02:00
Stefan Zweifel and GitHub
57054d8e7e
Merge pull request #101 from OskarStark/patch-1
...
Typo
2020-09-23 15:59:12 +02:00
Stefan Zweifel and GitHub
9e4e2e76fa
Add very basic test suite with bats and shellmock ( #100 )
...
* Add bats
* Write commits tests
* Add Workflow
* Add .gitignore
* Update Test Suite
* Disable test
* Disable failing test for now
2020-09-13 14:07:14 +02:00
Stefan Zweifel and GitHub
9cb711878d
Merge pull request #98 from stefanzweifel/revert-95-master
...
Revert "Creating orphan branch"
2020-09-11 11:19:07 +02:00
Stefan Zweifel and GitHub
b3fc6f8a17
Revert "Creating orphan branch"
2020-09-11 11:18:24 +02:00
Stefan Zweifel and GitHub
5c3c72f20e
Merge pull request #95 from StrongMonkey/master
...
Creating orphan branch
2020-09-10 19:44:31 +02:00
Stefan Zweifel and GitHub
303ce37181
Merge pull request #93 from stefanzweifel/add-note-about-forks
...
Update README with instructions for forks
2020-08-22 14:45:20 +02:00
Stefan Zweifel and GitHub
3c204cdee3
Update README.md
2020-08-22 14:21:01 +02:00
Stefan Zweifel and GitHub
b5320678c1
Merge pull request #91 from HarrisonGrodin/patch-1
...
Only check status of files matching file_pattern
2020-08-16 19:31:45 +02:00
Stefan Zweifel and GitHub
ee93725e66
Merge pull request #86 from TGTGamer/master
...
Docs: #85 Add small information about command line options
2020-07-18 13:50:16 +02:00