[BUG] Error: EACCES: permission denied, scandir '/home/runner/work/*/*/.pytest_cache' #411
Closed
4 tasks done
Labels
bug
Something isn't working
Is there an existing issue for this?
Does this issue exist in the latest version?
Describe the bug?
We use
verify-changed-files
to check whether a file (coverage-badge.svg
) has been changed or not. Recently, we started seeing the errorError: EACCES: permission denied, scandir '/home/runner/work/ugc-api-utils/ugc-api-utils/.pytest_cache'
and this happens according to the logs whentj-actions/glob@v21
starts doing##[debug]gitignore file patterns:
and one of the patterns in our gitignore is.pytest_cache
(which has always been there).This error only started happening today and i don't see how a permission issue can occur here since the workflow is the same and hasn't been changed.
To Reproduce
This is happening in a private repository. Steps we followed:
coverage-badge.svg
file in actions (this was added in thefiles
argument inverify-changed-files
)Error: EACCES: permission denied, scandir '/home/runner/work/ugc-api-utils/ugc-api-utils/.pytest_cache'
What OS are you seeing the problem on?
ubuntu-latest or ubuntu-22.04
Expected behavior?
Permission error not to be raised
Relevant log output
Has all relevant logs been included?
Anything else?
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: