Merge branch 'master' into combined-prs-branch
[poolifier.git] / .github / workflows / combine-prs.yml
index cdb164471363921b9ef887af80913138d53c08e8..a2c649fef429b855b5d11900de21d6c68367654b 100644 (file)
@@ -2,7 +2,7 @@ name: Combine PRs
 
 on:
   schedule:
-    - cron: '*/5 * * * *'
+    - cron: '0 0 * * *'
   workflow_dispatch:
 
 permissions:
@@ -12,11 +12,12 @@ permissions:
 
 jobs:
   combine-prs:
+    if: github.repository == 'poolifier/poolifier'
     runs-on: ubuntu-latest
 
     steps:
       - name: combine-prs
         id: combine-prs
-        uses: github/combine-prs@v3.1.2
+        uses: github/combine-prs@v4.0.0
         with:
-          github_token: ${{ secrets.SECRET_TOKEN }}
+          github_token: ${{ secrets.GH_TOKEN_PROTECTED }}