Skip to content
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: add comments on pr suggesting formatting #181

Merged
merged 5 commits into from
Jul 23, 2024

Conversation

aarondill
Copy link
Contributor

This commit adds a step to the lua-format-check-pr job that will leave a
comment with "suggested changes" when formatting needs to be applied.
This can then be applied with one click (per file).

Alternatively, I could change it to automattically add a commit that
formats the code. Several PRs have gotten through without proper
formatting, which makes all future PRs fail the checks.

@aarondill aarondill requested a review from amirbilu as a code owner July 22, 2024 20:26
This commit adds a step to the lua-format-check-pr job that will leave a
comment with "suggested changes" when formatting needs to be applied.
This can then be applied with one click (per file).

Alternatively, I could change it to automattically add a commit that
formats the code. Several PRs have gotten through without proper
formatting, which makes all future PRs fail the checks.
@aarondill aarondill marked this pull request as draft July 22, 2024 20:43
@aarondill aarondill marked this pull request as ready for review July 22, 2024 21:07
@aarondill
Copy link
Contributor Author

note that this will fail until it is merged, since PRs can't add permissions to a workflow

@amirbilu amirbilu merged commit 3ae92fc into codota:master Jul 23, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants