Skip to content

Commit ee9d8c2

Browse files
author
Charles Li
committed
Add new solution add_label.yml
1 parent 4b449ec commit ee9d8c2

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

.github/workflows/AddLabel.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ jobs:
4141
if (context.payload.pull_request !== undefined) {
4242
pull_number = context.payload.pull_request.number
4343
} else if (context.payload.workflow_run !== undefined) {
44-
workflow_name = context.payload.workflow_run.name
4544
if (context.payload.workflow_run.pull_requests.length === 0) {
4645
console.log("This workflow is NOT running within a PR's context")
4746
process.exit(1)

0 commit comments

Comments
 (0)