adjust cron condition

This commit is contained in:
maurizio-cacace 2023-01-16 14:50:52 +01:00
parent 6138c16f42
commit cc33c5dec1
No known key found for this signature in database
GPG Key ID: BC860F452395F645

View File

@ -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 }}