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 - name: Checkout repository
uses: actions/checkout@v3 uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Check if PR is approved - name: Check if PR is approved
id: action id: action
if: ${{ github.event_name != 'schedule' }}
uses: kamatama41/get-pr-number-action@v0 uses: kamatama41/get-pr-number-action@v0
with: with:
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Show the number - name: Show the number
env: env:
GH_TOKEN: ${{ github.token }} GH_TOKEN: ${{ github.token }}