Skip to content

Commit cdfa793

Browse files
authored
[CI] hopefully one final fix (#5128)
1 parent 35009b9 commit cdfa793

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/auto-label-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
7575
// Strategy: Branch-based labeling
7676
let baseRef, prBody;
77-
if (process.env.PR_NUMBER !== context.issue.number.toString()) {
77+
if (context.eventName === 'workflow_dispatch') {
7878
// Get PR details when called via workflow_dispatch
7979
const { data: pr } = await github.rest.pulls.get({
8080
owner,

0 commit comments

Comments
 (0)