Comments (7)
Are the failures happening here occurring only on a new pull request (coming from a fork) that is enabling Megalinter for a repo? In that case it's probably a permission/protection issue. Some things might be different once merged. You could try it on your fork by first merging the Megalinter enablement.
from megalinter.
Thank you for your response. I was expecting this to be automated by the workflow, creating a PR with fixes to my working branch/PR :) Maybe I missed documentation on this.
from megalinter.
Setting DISABLE_ERRORS: true is applying fixes. Thank you. Closing.
from megalinter.
Steps - Set APPLY_FIXES_IF var & Set APPLY_FIXES_IF_* vars are being executed after adding if: always()
but the next steps is still not being executed with the above condition.
from megalinter.
Both the above steps are evaluated to true but still the next ones are skipped
from megalinter.
No, It is happening for all PR's and it is not from forked repo. It is from a branch under the same repo. I am not sure why the if: condition is not evaluating. I debuged and they are 'true' as you see in above screenshot. I replaced the if: env.APPLY_FIXES_IF_PR == 'true'
with if: always()
and it works. I am lost on why with if: condition are being skipped
from megalinter.
To apply fixes, you must have no blocking error duing the MegaLinter step
As a workaround, you can open megalinter-reports artifact and copy-paste the content of folder updated_sources
that contain the reformatted sources
from megalinter.
Related Issues (20)
- Linter Pyright cannot import boto3 although I install it in PYTHON_PYRIGHT_PRE_COMMANDS HOT 4
- Possible futur issue with MarkdownLint HOT 4
- Proselint does not work as of 7.8.0 HOT 3
- Xmllint: also lint xsd files HOT 2
- Request new MegaLinter flavor HOT 1
- Semgrep status in documentation HOT 1
- Using apt-get in PRE_COMMANDS HOT 9
- Megalinter doesn't update the ts files with prettier ( doesn't format them ) HOT 5
- Request new MegaLinter flavor HOT 1
- Support AsyncAPI linting using Spectral HOT 7
- Explore installing Python with astral's `uv` HOT 6
- Kics incorrectly reporting the number of errors in summary HOT 2
- Line numbers reported by linters do not correspond to the committed files HOT 9
- Can we use _extends from another repo in same org HOT 20
- `SPELL_VALE_CONFIG_FILE` not working HOT 7
- βenv VALIDATE_ALL_CODEBASE=false does not work in docker HOT 12
- Megalinter is very slow HOT 11
- Typescript with invalid interface loaded as resolver HOT 4
- ANSIBLE_LINT enablement in Megalinter configurations is not checking the ansible yaml validations. HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from megalinter.