mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
Move schedule checking deeper (#3933)
This commit is contained in:
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 }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user