X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.github%2Fworkflows%2Fcombine-prs.yml;h=e95334af4393d80b5da523b057163db0e7bf26da;hb=e3b078a1a4aa8865f48cf968644ad7ff0594a1ef;hp=cdb164471363921b9ef887af80913138d53c08e8;hpb=3e2e209e98b74460a337ba63d68471c2727c9787;p=poolifier.git diff --git a/.github/workflows/combine-prs.yml b/.github/workflows/combine-prs.yml index cdb16447..e95334af 100644 --- a/.github/workflows/combine-prs.yml +++ b/.github/workflows/combine-prs.yml @@ -1,9 +1,9 @@ name: Combine PRs on: - schedule: - - cron: '*/5 * * * *' workflow_dispatch: + schedule: + - cron: '0 2 * * *' permissions: contents: write @@ -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@v5.0.0 with: - github_token: ${{ secrets.SECRET_TOKEN }} + github_token: ${{ secrets.GH_TOKEN_PROTECTED }}