Move schedule checking deeper (#3933)

This commit is contained in:
Igor Pečovnik 2022-06-25 18:34:46 +02:00 committed by GitHub
parent b28bf4a12b
commit 817bbca9ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,10 +34,11 @@ jobs:
Cancel:
name: "Cancel currently active"
if: ${{ github.repository_owner == 'Armbian' && github.event.schedule == '' }}
if: ${{ github.repository_owner == 'Armbian' }}
runs-on: small
steps:
- uses: n1hility/cancel-previous-runs@v2
if: ${{ github.event.schedule == '' }}
with:
token: ${{ secrets.GITHUB_TOKEN }}