Commit Graph

194 Commits

Author SHA1 Message Date
insyri
6296a68dfd added commit-description as option to action.yml 2021-10-22 08:52:00 -04:00
insyri
23135339e3 added commit-description as option in README 2021-10-22 08:49:41 -04:00
0b655e298c Merge pull request #48 from creyD/dev
Major Update 4.0
v4.0
2021-09-07 17:54:54 +02:00
9ff7c1dce3 Added new version 2021-09-07 17:49:12 +02:00
c392c4f7c2 Merge pull request #57 from hpedrorodrigues/main
Small fixes for branch dev
2021-09-07 17:39:06 +02:00
67f2a40bcd Added dry run example 2021-09-07 17:36:14 +02:00
Pedro Rodrigues
6c9f8f188e Displaying prettier error when a glob doesn't match any files 2021-06-21 23:05:35 -03:00
Pedro Rodrigues
8002e3525b Making variable INPUT_PUSH_OPTIONS not required 2021-06-21 23:04:49 -03:00
Pedro Rodrigues
c97500dd80 Checking if generated files exist before trying to delete them 2021-06-21 23:03:58 -03:00
Pedro Rodrigues
aeab4259d8 Adding missing environment variable INPUT_GITHUB_TOKEN 2021-06-21 23:00:56 -03:00
a9bef1b515 Merge pull request #56 from hpedrorodrigues/override-token
Add support to override the default github token
2021-06-17 00:22:12 +02:00
654f901ff9 Merge branch 'dev' into override-token 2021-06-17 00:21:33 +02:00
Pedro Rodrigues
4f318753d5 Add support to override the default github token 2021-06-16 19:08:28 -03:00
ba482bbb2a Merge pull request #49 from fsz-codeshop/issue-37-dry-run-reporting-unpretty
Fixes Issues from PR #46 (37 [BUG] Dry run reporting unpretty files when all files match styles)
2021-05-21 09:48:38 +02:00
426f319c74 Merge branch 'dev' into issue-37-dry-run-reporting-unpretty 2021-05-21 09:48:29 +02:00
bb9aa745eb Merge pull request #53 from stevelacy/master
Add input git push options
2021-05-21 09:46:51 +02:00
Steve Lacy
707db76837 Add input git push options 2021-05-20 09:39:31 -10:00
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