From cc33c5dec1641f32d6438c474edb957fb07b961e Mon Sep 17 00:00:00 2001 From: maurizio-cacace Date: Mon, 16 Jan 2023 14:50:52 +0100 Subject: [PATCH] adjust cron condition --- .github/workflows/pull-request.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 6e981a8cf1..bcfee6ab33 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -71,14 +71,15 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 with: - fetch-depth: 0 + fetch-depth: 0 - name: Check if PR is approved id: action + if: ${{ github.event_name != 'schedule' }} uses: kamatama41/get-pr-number-action@v0 with: github_token: ${{ secrets.GITHUB_TOKEN }} - + - name: Show the number env: GH_TOKEN: ${{ github.token }}