Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.out and .err files should be created in a temp dir #199

Open
rdicroce opened this issue May 20, 2024 · 1 comment
Open

.out and .err files should be created in a temp dir #199

rdicroce opened this issue May 20, 2024 · 1 comment

Comments

@rdicroce
Copy link

Currently, the .out and .err files are created in the working directory, or the workspace directory if the working directory is not set. This is a problem because it means the files are inside the Git repo. I have an automated release workflow that updates some files and commits them, and the .out and .err files got accidentally committed to the repo because of that.

So I suggest that the .out and .err files should be created in a temp directory outside the workspace instead. The RUNNER_TEMP environment variable provides a temp directory that you could use.

@jmealo
Copy link
Collaborator

jmealo commented Aug 8, 2024

@rdicroce: thanks for reporting this issue.
@themightychris this seems valid... assuming it works with the post-run log output 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants