Commit Graph

276 Commits

Author SHA1 Message Date
8c18391fdc Merge pull request #146 from creyD/dev
Minor Update
v4.6
2025-06-09 23:54:26 +02:00
6b98d6d1d4 Merge branch 'master' into dev 2025-06-09 23:50:38 +02:00
afbe64738b Update README.md 2025-06-09 23:45:59 +02:00
Derek Ditch
6a7b2d092f Use npx to execute prettier (#145)
* fix: bumped version in readme

* Use npx to execute prettier

Fixes: https://github.com/creyD/prettier_action/issues/113

---------

Co-authored-by: Conrad <grosserconrad@gmail.com>
2025-06-09 23:43:18 +02:00
af8ff244c5 fix: #144 Moved to ID based noreply pattern 2025-05-09 14:39:25 +02:00
acebb0f4d5 fix: bumped version in readme 2025-05-08 13:33:09 +02:00
b185d84b38 fix: bumped version in readme 2025-05-08 13:32:56 +02:00
5e54c68940 Merge pull request #143 from creyD/dev
Fixed a bug with ONLY_CHANGED_PR and added ALLOW_OTHER_PLUGINS
v4.5
2025-05-08 13:31:00 +02:00
ff6bab6030 fix: fixed a bug with INPUT_ONLY_CHANGED_PR 2025-05-08 13:28:44 +02:00
22eb028766 fix: updated docs for action 2025-05-08 13:26:14 +02:00
e2704493af feat: #98 added option to allow for other plugins 2025-05-08 13:20:52 +02:00
d7f059e30c Merge pull request #123 from creyD/dev
Different minor changes
v4.4
2025-05-08 11:25:27 +02:00
b73c2bf29c fix: updated link 2025-05-08 11:14:35 +02:00
f24ab29247 fix: version bump for examples 2025-05-08 11:04:01 +02:00
9f54668ece fix: minor documentation cleanups 2025-05-08 10:32:44 +02:00
eeb940db6d fix: fixed codacy error 2025-05-08 10:24:50 +02:00
12efc36860 fix: codacy warning 2025-05-08 10:23:14 +02:00
John Jetmore
e53f331f48 Add only_changed_pr (#135)
* allow `only_changed` and `dry` to work together

Before this change, if you tried to use `dry` and `only_changed together, it acted as if `only_changed` was ignored.  There was no code specific to `only_changed` down the `dry` code path.

This commit’s solution is to run prettier on the entire code base (as was already being done) and then, before doing any comparisons, reset changes to files that were not modified in the last commit.

* add `only_changed_pr` option

This behaves similarly to only_changed, except instead of only considering files which were modified in the last commit, this option only considers files which were modified in any commit included in the current PR.
2025-05-08 10:18:46 +02:00
d5e6c388c3 added codacy badge 2024-11-24 17:19:57 +01:00
99914860a6 Merge pull request #133 from greenfiling/fix-empty-working_directory 2024-11-24 16:35:15 +01:00
John Jetmore
a3561a8976 set INPUT_WORKING_DIRECTORY if not already set 2024-01-29 12:32:01 -05:00
f32e6a975a Fixing bug #128 2024-01-10 12:43:00 +01:00
117a7a5b37 Updated Readme according to #132 2024-01-10 12:26:30 +01:00
5d0450c2bc Addede step summary in GitHub 2023-10-03 20:37:27 +02:00
57dc57f236 Added star history 2023-10-03 17:12:40 +02:00
Derek Brown
0fc0cf4723 feat: Allow overriding actor (#126)
Co-authored-by: Conrad <grosserconrad@gmail.com>
2023-08-21 21:05:34 +02:00
5b5cb513f1 Update action.yml 2023-07-20 20:55:18 +02:00
Federico M. Facca
4bd40fc486 Support not exiting the process in case of changes in dry mode (#122)
Co-authored-by: Conrad <grosserconrad@gmail.com>
2023-07-20 16:39:13 +02:00
Blake Dunson
9aba96f268 Allow amended commits to be empty (#119)
Co-authored-by: Conrad <grosserconrad@gmail.com>
2023-06-30 17:40:51 +02:00
Federico M. Facca
a1c90f8992 export push_options as env variable (#121)
Co-authored-by: Conrad <grosserconrad@gmail.com>
2023-06-30 17:23:25 +02:00
473978add9 Added default for working_directory 2023-05-24 11:05:21 +02:00
d04162ee72 Added default for prettier_version 2023-05-24 11:01:47 +02:00
9561a3f1e1 Merge pull request #118 from creyD/dev 2023-04-19 15:49:52 +02:00
4ccf35e06f Bumped version number in templates 2023-02-19 16:43:21 +01:00
31355f8eef Merge pull request #109 from creyD/dev v4.3 2023-02-19 16:38:13 +01:00
6fe86ce41d Added note for new npm 9 issue 2023-02-19 16:33:58 +01:00
a21409da47 Merge pull request #112 from tropictim/fix_path 2023-02-19 16:23:29 +01:00
Tim Talbert
191599deb6 Don't use the npm bin command to resolve the bin path 2023-02-17 17:24:11 -05:00
9436c53771 Added debug for prettier test result in the log 2023-01-23 14:16:43 +01:00
2826053f0c Added option clean_node_folder for #108 2023-01-23 12:56:23 +01:00
dc62bca389 Merge pull request #105 from creyD/dev
Minor Readme Updates
2023-01-10 22:47:52 +01:00
2e9c875edd Merge pull request #104 from AnimeAllstar/patch-1
Bumped actions/checkout to v3 in examples
2023-01-10 22:46:42 +01:00
Asad Dhorajiwala
2bf66dcd9f Bumped actions/checkout to v3 in examples
actions/checkout@v2 uses node12. GitHub gives a deprecation warning for this since node12 is out of support. actions/checkout@v3 uses node16 by default.

https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12
2023-01-10 13:45:18 -08:00
0eebd17ea5 Merge pull request #102 from JuanDa237/patch-1
Not Github Workflow Warnings
2022-12-22 09:17:34 +01:00
Juan David Gaviria Correa
360ac97374 #101 Update README.md
Use v3 as suggested here https://github.com/marketplace/actions/checkout
2022-12-21 20:09:05 -05:00
a18ea90a1c Merge pull request #99 from WesleyYue/patch-1
Add note that Prettier plugins must be wrapped in quotes
2022-12-01 13:51:13 +01:00
Wesley
30fe71e314 Update README.md 2022-11-30 15:34:05 -08:00
6602189cf8 Merge pull request #88 from creyD/dev
Minor Feature & Bugfix Update
v4.2
2022-01-15 22:20:08 +01:00
0bf5ce065a Updated bug and feature templates 2022-01-15 22:15:20 +01:00
ac20e98371 Using latest version in the examples 2022-01-15 22:13:48 +01:00