-
Notifications
You must be signed in to change notification settings - Fork 25
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
Better GitHub Action workflow for JuliaFormatter #213
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #213 +/- ##
=======================================
Coverage 75.20% 75.20%
=======================================
Files 11 11
Lines 750 750
=======================================
Hits 564 564
Misses 186 186
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
The original workflow julia-code-style-suggesters is a combination of:
All features in JuliaProjectFormatter.jl seems a subset of Aqua.jl, so there would be no problem in this PR. (tkf/JuliaProjectFormatter.jl#7 (comment)) |
In #218, I tried this action, but didn't get any suggestions, only stuff in the CI log. Do you now, what (github settings, CI permissions, etc.) needs to be changed for this to work for PRs from forks? |
The log shows the folloing message, so it seems we need more permissions for that token.
|
I applied @fingolfin's suggestions from #218 here. |
519455f
to
3688186
Compare
@fingolfin something seems to be wrong |
I have applied the commits from #218. (x-ref #218 (comment)) |
We still have the following message:
https://github.com/JuliaTesting/Aqua.jl/actions/runs/6642425658/job/18047160049?pr=213#step:5:192 |
We can use |
80dd482
to
a2aee99
Compare
With the |
d5edb85
to
cdf9461
Compare
Hmm, the suggestion works file in other PRs (#255 (comment)) now, so I'm not sure the reason for that error. |
The only difference to other PRs that I can see is that this PR here is from a fork. |
That's correct. I found an issue about this: reviewdog/action-suggester#19 |
x-ref: #128 (comment)
I have just copied the YAML file from https://github.com/JuliaDiff/ChainRulesCore.jl/blob/main/.github/workflows/format.yml.