We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35009b9 commit cdfa793Copy full SHA for cdfa793
.github/workflows/auto-label-pr.yml
@@ -74,7 +74,7 @@ jobs:
74
75
// Strategy: Branch-based labeling
76
let baseRef, prBody;
77
- if (process.env.PR_NUMBER !== context.issue.number.toString()) {
+ if (context.eventName === 'workflow_dispatch') {
78
// Get PR details when called via workflow_dispatch
79
const { data: pr } = await github.rest.pulls.get({
80
owner,
0 commit comments