Closed john-jerome closed 2 years ago
Hi @john-jerome , were you able to fix it ?
hey @nileshcrptm, yes our Data Engineer told me that the $HOME
variable was not set and file-changes-action
requires it, apparently:
- name: Get changed files
env:
HOME: "/root"
id: get_file_changes
uses: trilom/file-changes-action@v1.2.4
with:
output: ' '
I assume this is only the case when using a self-hosted runner - I was using this action before with a github runner and never experienced this issue.
Describe the bug I'm getting the following error when running this action using a self-hosted EC2 runner:
Workflow
Expected behavior Here's how my GITHUB_TOKEN Permissions look like during the job setup so I'm not sure why am I having any problems with writing the output files
Any help would be appreciated!