From 1fdc02e14bf1a3df9054fecd283a38e2f60572b6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Fri, 1 Sep 2023 11:45:04 +0200 Subject: [PATCH] build(ci): ensure combine PRs will only run on poolifier/poolifier repo MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- .github/workflows/combine-prs.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 }} -- 2.34.1