Experiment with access logs during execution

This commit is contained in:
Curtis Vogt
2025-01-24 10:08:35 -06:00
parent 46044e72ab
commit b4c6d4b10c

View File

@@ -35,3 +35,14 @@ jobs:
with:
name: reusable-context
path: "*.json"
- run: |
set -x
uuid="$(cat /proc/sys/kernel/random/uuid)"
echo "$uuid"
gh api "/repos/{owner}/{repo}/actions/runs/${run_id}/logs" >logs.zip
unzip logs.zip
find .
grep -rnH ReusableWorkflow.yml .
grep -rnH "$uuid" .
env:
GH_TOKEN: ${{ github.token }}