浏览代码

Rename workflow job to "Periodic Actions"

Tianon Gravi 5 年之前
父节点
当前提交
dc9cd282e7
共有 1 个文件被更改,包括 4 次插入3 次删除
  1. 4 3
      .github/workflows/periodic.yml

+ 4 - 3
.github/workflows/label-prs.yml → .github/workflows/periodic.yml

@@ -1,7 +1,7 @@
 # 🤬 https://github.com/actions/labeler/issues/12 / https://github.community/t5/GitHub-Actions/GitHub-actions-are-severely-limited-on-PRs/m-p/54669/highlight/true#M9249
 # (this workflow shouldn't exist)
 
-name: Label PRs
+name: Periodic Actions
 
 on:
   schedule:
@@ -13,9 +13,10 @@ defaults:
 
 jobs:
 
-  label:
-    name: Label
+  periodic:
+    name: Periodic
     runs-on: ubuntu-latest
+    timeout-minutes: 15 # given that this runs every 15 minutes, it needs to take less than that to do whatever it is going to do
     steps:
       - name: Apply Labels
         uses: actions/[email protected]