Derek Brown
0fc0cf4723
feat: Allow overriding actor ( #126 )
...
Co-authored-by: Conrad <grosserconrad@gmail.com >
2023-08-21 21:05:34 +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
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
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
607ddfdc57
Merge pull request #87 from bercos/master
...
Fix #78
2022-01-15 22:08:45 +01:00
Bernie Cosgriff
9dff813935
Fix #78
...
Fix https://github.com/creyD/prettier_action/issues/78 by updating the regex.
I tested the regex but was not sure how to test the action. The regex should cover all three valid cases outlined here https://prettier.io/docs/en/plugins.html .
2022-01-14 16:27:39 -07:00
Tim Morgan
8a16fc9688
Don't install plugins globally
...
This fixes a problem where @prettier/plugin-ruby was not being used.
2022-01-08 12:37:59 -06:00
Anselm Hahn
13fd7a03b4
Fixed #81
2021-12-28 18:32:29 +01:00
26c4892179
Fixed a bug with missing "
2021-12-06 12:22:36 +01:00
86625cc217
Merged the input commit description if statement
2021-12-06 12:18:46 +01:00
fdbbee3567
Bugfix for the commit description
2021-12-06 12:15:24 +01:00
f9f10e0719
Added spacing for commit description
2021-12-06 12:11:52 +01:00
insyri
f44961013c
Variable assignment fix, issued via CodeFactor
2021-12-04 18:58:13 -05:00
insyri
a9474e2eb8
Corrected if/else for INPUT_COMMIT_DESCRIPTION.
2021-12-04 18:46:31 -05:00
41bf601bb6
Merge pull request #71 from sksat/handle-space-in-fname
...
handle space in file name
2021-11-30 17:58:28 +01:00
8efb5a885e
Added working_directory parameter
2021-11-30 17:18:31 +01:00
sksat
b90e27731a
fix: handle space in changed file name
2021-11-24 00:30:10 +09:00
b1dc9cd3b3
Merge pull request #67 from AndyA/master
...
Don't delete package-lock.json
2021-10-31 15:06:10 +01:00
insyri
39357d386a
added $INPUT_COMMIT_DESCRIPTION to entrypoint.sh
...
im unfamiliar with shell so this is what i did with some research, the inline if statement is just a personal design/formatting choice.
2021-10-22 09:03:21 -04:00
Andy Armstrong
a6d8de1638
Don't delete package-lock.json
2021-10-19 13:42:28 +01: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
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
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
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
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
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
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
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