[GH-ISSUE #1935] Act should warn on IO permission error instead of exiting #930

Open
opened 2026-03-01 21:47:30 +03:00 by kerem · 0 comments
Owner

Originally created by @mrnossiom on GitHub (Jul 31, 2023).
Original GitHub issue: https://github.com/nektos/act/issues/1935

Hi 👋🏻,

I very recently discovered act that seems to be a very nice project. I have a project that uses docker compose. I like to spin-up a local database to test and have persistence between restarts, and I use Docker volumes to do that. When the repository is being checked out by act, the folders that I use to temporarily store this information are owned by the docker user, these are not accessible and act crashes due to an IO error.

I would suggest that act warns on IO errors, maybe with a setting somewhere where we can suppress the warning when this gets noisy.

...
[CI] ⭐ Run Main Checkout repository
[CI]   🐳  docker cp src=/path/to/pgpaste/. dst=/path/to/pgpaste
[CI] <nil>
[CI]   ❌  Failure - Main Checkout repository
[CI] open /path/to/pgpaste/.database: permission denied
[CI] 🏁  Job failed
Error: Job 'CI' failed

Thanks

Originally created by @mrnossiom on GitHub (Jul 31, 2023). Original GitHub issue: https://github.com/nektos/act/issues/1935 Hi 👋🏻, I very recently discovered `act` that seems to be a very nice project. I have a project that uses docker compose. I like to spin-up a local database to test and have persistence between restarts, and I use Docker volumes to do that. When the repository is being checked out by `act`, the folders that I use to temporarily store this information are owned by the docker user, these are not accessible and `act` crashes due to an IO error. I would suggest that `act` warns on IO errors, maybe with a setting somewhere where we can suppress the warning when this gets noisy. ``` ... [CI] ⭐ Run Main Checkout repository [CI] 🐳 docker cp src=/path/to/pgpaste/. dst=/path/to/pgpaste [CI] <nil> [CI] ❌ Failure - Main Checkout repository [CI] open /path/to/pgpaste/.database: permission denied [CI] 🏁 Job failed Error: Job 'CI' failed ``` Thanks
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#930
No description provided.