-
Notifications
You must be signed in to change notification settings - Fork 189
chore: update action to ensure we get the reference before running "prettier" #305
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: update action to ensure we get the reference before running "prettier" #305
Conversation
|
cc @brittanyjoiner15 this PR looks relevant to your previous work :) |
|
@ftonato do you know why the check might be failing? |
|
@ftonato could you also create a ticket and link this PR to that issue. In this way, we have the issue documented and if for any reason you don't finish this, someone else can pick this up :) |
|
It's failing because "prettier" is trying to find any file regardless of file types (like .js or .json). I'll update the PR by adding the types that should be considered by the tool. |
8465aa9 to
8bc7e42
Compare
8bc7e42 to
3db5000
Compare
isabelcosta
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Thank you for reporting and fixing this issue!
|
@isabelcosta @ftonato My PR: #302 |
|
Thank you @daxoron for reviewing 🙏🏾 |
|
thanks @ftonato for taking care of this! |
…rettier" (anitab-org#305) * chore: update action to ensure we get the reference before running "prettier" * chore: update the "prettier" process to take into account only certain file types * chore: add new type of files to be considered by prettier
Description
In order to fix the current problem we have with the action that is executed for "prettier", this PR forces that within the checkout action we always have the last reference (from current branch or pull-request).
Type of Change:
Issues
Fixes: #310
References