-
-
Notifications
You must be signed in to change notification settings - Fork 284
Closed as not planned
Closed as not planned
Copy link
Labels
O: stale 🤖This issue or pull request is stale, it will be closed if there is no activityThis issue or pull request is stale, it will be closed if there is no activitybugSomething isn't workingSomething isn't working
Description
Describe the bug
We use self-hosted github runners and it seems megalinter writes on filesystem as root, making future runs impossible. When a github runner tries to delete the old repo to clone a new one, it failes with the error message: Error: Command failed: rm -rf "/home/runners/runner-1/_work/REPO/REPO/.mypy_cache"
To Reproduce
- have self-hosted github runners
- trigger an action. It will pass, however some files will be written on the filesystem with
rootpermissions - Trigger the action again. This time it will fail because github runners cannot delete some directories.
Expected behavior
Megalinter should either clean those files up, or it shouldn't be writing those files with root permissions.
Screenshots
[ not provided due to the company policy ]
Metadata
Metadata
Assignees
Labels
O: stale 🤖This issue or pull request is stale, it will be closed if there is no activityThis issue or pull request is stale, it will be closed if there is no activitybugSomething isn't workingSomething isn't working