Move schedule checking deeper (#3933)
This commit is contained in:
parent
b28bf4a12b
commit
817bbca9ad
3
.github/workflows/build-train.yml
vendored
3
.github/workflows/build-train.yml
vendored
@ -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 }}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user