Skip to content

Commit 880f891

Browse files
committed
refactor: Remove scheduled trigger from discussion labeler workflow
1 parent a112f67 commit 880f891

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/on-discussion-created.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
name: Discussion Labeler
22

33
on:
4-
schedule:
5-
# Run every hour
6-
- cron: '0 * * * *'
74
workflow_dispatch: # Allow manual triggering
85
discussion:
9-
types: [created] # Add trigger for when a new discussion is created
6+
types: [created] # Trigger only when a new discussion is created
107

118
# Use permissions directive to explicitly set token permissions
129
permissions:

0 commit comments

Comments
 (0)