Skip to content

Commit

Permalink
Add debug output to PR detection
Browse files Browse the repository at this point in the history
  • Loading branch information
jlantz committed Sep 13, 2024
1 parent 2c7dc8f commit ccab301
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/feature-test-2gp-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,8 @@ jobs:
head: `${context.repo.owner}:${context.ref.replace('refs/heads/', '')}`,
state: 'open'
});
console.log(`Checking PRs for branch: ${context.ref.replace('refs/heads/', '')}`);
if (pullRequests.length > 0) {
const pr = pullRequests[0];
console.log('PR found:', pr.number);
Expand Down

0 comments on commit ccab301

Please sign in to comment.