Skip to content

Commit abe0907

Browse files
authored
chore(easylabel.yaml): rename workflow from CorePing to EasyLabel for clarity (#73)
feat(easylabel.yaml): add scheduled trigger to run workflow every hour refactor(easylabel.yaml): update job name from run_coreping to run_easylabel for consistency
1 parent f5793d4 commit abe0907

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/easylabel.yaml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
1-
name: "CorePing - Core PR Review Reminder"
1+
name: "EasyLabel - Automated PR Labeling"
22

33
on:
44
workflow_dispatch:
5+
schedule:
6+
- cron: "0 * * * *" # Run every hour at minute 0
57
push:
68
branches:
79
- easylabel-debug
8-
# paths:
9-
# - ".github/workflows/coreping.yaml"
10-
# - "app/tasks/coreping/**"
1110

1211
jobs:
13-
run_coreping:
12+
run_easylabel:
1413
runs-on: ubuntu-latest
1514
timeout-minutes: 10
1615
steps:
@@ -20,9 +19,8 @@ jobs:
2019
# Install dependencies
2120
- run: bun i
2221

23-
# Run EasyLabel task
22+
# Run EasyLabel task with timeout
2423
- run: bun run/easylabel.tsx
25-
timeout-minutes: 10
2624
env:
2725
GH_TOKEN_COMFY_PR: ${{ secrets.GH_TOKEN_COMFY_PR_BOT }}
2826
MONGODB_URI: ${{ secrets.MONGODB_URI }}

0 commit comments

Comments
 (0)