Skip to content

Commit a6b74a9

Browse files
committed
perf: optimize fuzzer-fix-automation trigger
Only trigger when 'fuzzer' label is specifically added, not on every issue creation or label addition. This reduces unnecessary workflow runs. Before: Runs on all issue opens + all label additions After: Only runs when 'fuzzer' label is added
1 parent 20548ba commit a6b74a9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/fuzzer-fix-automation.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ name: Fuzzer Fix Automation
22

33
on:
44
issues:
5-
types: [opened, labeled]
5+
types: [labeled]
66

77
jobs:
88
attempt-fix:
99
name: "Attempt to Fix Fuzzer Crash"
10-
# Only run on issues with the 'fuzzer' label
11-
if: contains(github.event.issue.labels.*.name, 'fuzzer')
10+
# Only run when the 'fuzzer' label is added
11+
if: github.event.label.name == 'fuzzer'
1212

1313
runs-on: ubuntu-latest
1414
timeout-minutes: 60

0 commit comments

Comments
 (0)