X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.github%2Fworkflows%2Fcombine-prs.yml;h=cdad6af7962840a671a8fa4eae4a7a4900f2d249;hb=e9cfa2d423a77e45f43752114bf6faa287710c98;hp=cdb164471363921b9ef887af80913138d53c08e8;hpb=3e2e209e98b74460a337ba63d68471c2727c9787;p=poolifier.git diff --git a/.github/workflows/combine-prs.yml b/.github/workflows/combine-prs.yml index cdb16447..cdad6af7 100644 --- a/.github/workflows/combine-prs.yml +++ b/.github/workflows/combine-prs.yml @@ -2,7 +2,7 @@ name: Combine PRs on: schedule: - - cron: '*/5 * * * *' + - cron: '0 0 * * *' workflow_dispatch: permissions: @@ -12,6 +12,7 @@ permissions: jobs: combine-prs: + if: github.repository == 'poolifier/poolifier' runs-on: ubuntu-latest steps: @@ -19,4 +20,4 @@ jobs: id: combine-prs uses: github/combine-prs@v3.1.2 with: - github_token: ${{ secrets.SECRET_TOKEN }} + github_token: ${{ secrets.GH_TOKEN_PROTECTED }}