277 Commits

Author SHA1 Message Date
7040c46162 Merge pull request #51 from fschoenfeldt/patch-1
Update README.md
2021-05-11 10:38:56 +02:00
Frederik Schönfeldt
672408b1db Update README.md
Use latest action version in example :-)
2021-05-10 18:01:39 +02:00
Fabricio Sander
634a3d2075 fix: changes the logic to handle dry-run with --write option and corrects the logic as it will never have changes on dry-run 2021-04-13 16:34:40 -03:00
d9d644ab69 Merge pull request #44 from suda/master
Allow unofficial plugins
2021-04-10 16:14:00 +02:00
0b7e2710f2 Merge branch 'dev' into master 2021-04-10 16:13:21 +02:00
fd9337d75f Merge pull request #46 from fsz-codeshop/issue-37-dry-run-reporting-unpretty
Fixes Issue #37 [BUG] Dry run reporting unpretty files when all files match styles
2021-04-10 16:10:33 +02:00
Fabricio Sander
c2e2730594 fix: fixes codefactor recommendation 2021-03-25 21:56:57 -03:00
Fabricio Sander
2069f26b6e other: improves the log output by not having and out of range message 2021-03-25 21:36:51 -03:00
Fabricio Sander
5b4a6a0183 docs: note about using --check on options to help in dry running 2021-03-25 21:34:44 -03:00
Fabricio Sander
3d912f60d1 fix: added variable declaration 2021-03-25 21:28:17 -03:00
Fabricio Sander
67234beef0 other: testing approach with multiple commands on fail 2021-03-25 21:21:06 -03:00
Fabricio Sander
2602a7aad8 other: testing approach using pipefail 2021-03-25 21:10:04 -03:00
Fabricio Sander
341259c9e6 other: testing another approach to handle both cases 2021-03-25 20:59:41 -03:00
Fabricio Sander
70f47fbe7e fix: fixes handling of bad case where there are unpretty files and command output is not 0 2021-03-25 20:50:30 -03:00
Fabricio Sander
217be60a6a fix: removes code block added by mistake from dev branch 2021-03-25 20:22:03 -03:00
Fabricio Sander
0e4ccc84cf style: fixes log message 2021-03-25 20:13:05 -03:00
Fabricio Sander
b40e4ba1c8 fix(issue-37): adds logic to handle prettier cmd output to shell dry-run exit 2021-03-25 20:11:57 -03:00
87e1553a82 Merge pull request #40 from jsoref/glob
Handle bash globs
2021-03-01 22:57:32 +01:00
bc1e95cc30 Adjusted the prettier_plugins variable to documentation 2021-03-01 15:20:54 +01:00
53d0f90f4e Update README.md 2021-03-01 15:18:08 +01:00
6438b32926 Merge pull request #45 from infotexture/fix/plugin-syntax
Fix plugin name syntax in README & description
2021-03-01 14:58:03 +01:00
Roger Sheen
6c3c102255 Fix plugin name syntax in README & description
The entrypoint script checks for correctly named Prettier plugins on [lines 44–45](https://github.com/creyD/prettier_action/blob/master/entrypoint.sh#L44-L45), but the description in the config file and README are not consistent.

This updates those references to clarify how plugins should be specified.
2021-03-01 00:25:35 +01:00
Wojtek Siudzinski
e81db121ba Allow unofficial plugins 2021-02-28 11:16:39 +01:00
Josh Soref
d48a703bcd Handle bash globs
The previous system relied on a different shell's magic for handling `*` / `**`

nullglob
- If set, Bash allows filename patterns which match no files to expand to a null string, rather than themselves.

globstar
- If set, the pattern ‘**’ used in a filename expansion context will match all files and zero or more directories and subdirectories. If the pattern is followed by a ‘/’, only directories and subdirectories match.
2021-02-19 14:56:06 -05:00
a0331d2149 Merge pull request #39 from creyD/dev_composite
Moved the action to composite
2021-02-19 20:47:50 +01:00
b81496839a Adjusted exception message and finalized changes 2021-02-19 19:18:23 +01:00
1f62e028b6 Added exceptions to improve stability 2021-02-19 19:16:25 +01:00
5e56c64388 Another try at bugfixing the ignore mechanism 2021-02-19 19:13:29 +01:00
7d4939bf14 Another try at bugfixing the ignore mechanism 2021-02-19 19:09:45 +01:00
19d31cb263 Another try at bugfixing the ignore mechanism 2021-02-19 19:07:12 +01:00
c9d8181bcf Moved ignore part to before git checks changed 2021-02-19 19:04:18 +01:00
f4e4fcde26 Added .gitignore to exclusion - for real II 2021-02-19 18:56:55 +01:00
1a89f28d0f Added .gitignore to exclusion - for real 2021-02-19 18:54:40 +01:00
172c413f01 Added .gitignore exclusion 2021-02-19 18:51:11 +01:00
9acb5d89b9 Still debugging ignoring 2021-02-19 18:47:01 +01:00
77af303189 Bugfixing ignore mechanism 2021-02-19 18:44:35 +01:00
5564e3ef42 Updating ignore mechanism 2 2021-02-19 18:41:32 +01:00
c5dd36440f Updating the ignore mechanism 2021-02-19 18:40:27 +01:00
3b82dd7e95 Fixed missing command 2021-02-19 18:36:38 +01:00
01e9c566d8 Trying to exclude the useless package files 2021-02-19 18:31:20 +01:00
35d0d93afd Removed global parameter 2021-02-19 18:19:17 +01:00
857bc257e2 Added missing bracket 2021-02-19 18:15:37 +01:00
4d25f0bd7c Moving the path to the run part of the yml 2021-02-19 18:13:22 +01:00
5c365ab3fa Another bugfix attempt trying to generate the global flag only if needed 2021-02-19 18:10:42 +01:00
b5409d48a9 Removed global option for testing 2021-02-19 18:02:12 +01:00
5f9fa33c3d Fixed variable problem 2021-02-19 17:58:30 +01:00
3aa6d7608d Added testing variable 2021-02-19 17:54:00 +01:00
8a68c5b4d3 Experimenting with a simpler form of composite actions 2021-02-19 17:45:52 +01:00
45863b1eb1 Merge pull request #38 from jsoref/composite
Composite
2021-02-19 17:35:23 +01:00
Josh Soref
7326fa4da4 Switch to composite 2021-02-19 00:49:40 -05:00