Enhance stale PR workflow with debug logging

Added logging for GitHub context and event name.
This commit is contained in:
Tobias 2026-02-08 21:04:45 +01:00 committed by GitHub
parent 2f2d0235b7
commit 460d68ecc9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,6 +17,10 @@ jobs:
uses: actions/github-script@v7
with:
script: |
console.log('github object:', typeof github);
console.log('github.rest:', typeof github?.rest);
console.log('context.eventName:', context.eventName);
const now = new Date();
const owner = context.repo.owner;
const repo = context.repo.repo;