Enhance stale PR workflow with debug logging
Added logging for GitHub context and event name.
This commit is contained in:
parent
2f2d0235b7
commit
460d68ecc9
4
.github/workflows/stale_pr_close.yml
generated
vendored
4
.github/workflows/stale_pr_close.yml
generated
vendored
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user