perf(ci): refine self hosted runner label for internal continuous benchmarking
[poolifier.git] / .github / workflows / combine-prs.yml
index 4d7fb83cbac31275ffaccd7aca30ff09899e1b5f..3cf3ffebfbd3c3e04d0d7df29cca0404b685b8e7 100644 (file)
@@ -1,9 +1,9 @@
 name: Combine PRs
 
 on:
+  workflow_dispatch:
   schedule:
     - cron: '0 0 * * *'
-  workflow_dispatch:
 
 permissions:
   contents: write
@@ -12,9 +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.GH_TOKEN_PROTECTED }}