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.
Setting DISABLE_ERRORS: true is applying fixes. Thank you. Closing.
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.
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)
- Issue in setting custom configuration files HOT 1
- Request new MegaLinter flavor HOT 1
- MegaLinter Azure DevOps Extension/Task HOT 6
- Unable to use ESLint flat config for linting JavaScript HOT 13
- Biome support HOT 3
- Update version of tflint-ruleset-aws HOT 3
- Doesn't seem to use LINTER_RULES_PATH in WSL HOT 3
- How does one configure Detekt? HOT 11
- Powershell installed twice HOT 3
- TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension On Install HOT 2
- ENABLE_ERRORS_LINTERS HOT 3
- Powershell error table formatting issue HOT 1
- Devskim config ignored instead crawl-archives enabled by default HOT 1
- VSCODE error HOT 2
- Can EXTENDS be set in env? HOT 2
- TFLint - deprecated argument in ".tflint.hcl" HOT 6
- Action "Auto-Update Linters" is failing HOT 19
- Dependency "ip" needs to be replaced HOT 1
- Dependency Dashboard
- Add conftest integration HOT 1
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.