From: Jérôme Benoit Date: Fri, 1 Sep 2023 09:45:04 +0000 (+0200) Subject: build(ci): ensure combine PRs will only run on poolifier/poolifier repo X-Git-Tag: v2.6.40~8 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=1fdc02e14bf1a3df9054fecd283a38e2f60572b6;p=poolifier.git build(ci): ensure combine PRs will only run on poolifier/poolifier repo Signed-off-by: Jérôme Benoit --- 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 }}