-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Labels
O: backlog 🤖Backlog, stale ignores this labelBacklog, stale ignores this labelenhancementNew feature or requestNew feature or request
Milestone
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
Trying to redirect the log file output to GitHub Job Summaries.
- uses: github/super-linter/slim@v6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CREATE_LOG_FILE: true
# /snip
- if: always()
run: cat super-linter.log >> $GITHUB_STEP_SUMMARY
But catting the logfile gives a permissions error.
Expected Behavior
I'd expect subsequent steps to have access to the log file that is created.
Super-Linter version
slim-v6.4.1Relevant log output
Run cat super-linter.log >> $GITHUB_STEP_SUMMARY
cat super-linter.log >> $GITHUB_STEP_SUMMARY
shell: /usr/bin/bash -e {0}
cat: super-linter.log: Permission denied
Error: Process completed with exit code 1.Steps To Reproduce
on github actions
run while creating log file
attempt to read log file after step is complete
Anything else?
full job run: https://github.com/jasonkarns/bats-mock/actions/runs/9129703172/job/25104872145
MichaelMHoff and deitry
Metadata
Metadata
Assignees
Labels
O: backlog 🤖Backlog, stale ignores this labelBacklog, stale ignores this labelenhancementNew feature or requestNew feature or request