Skip to content

OSOE-743: Cancel ongoing runs of long-running workflows under a PR when new changes are pushed #5657

OSOE-743: Cancel ongoing runs of long-running workflows under a PR when new changes are pushed

OSOE-743: Cancel ongoing runs of long-running workflows under a PR when new changes are pushed #5657

name: Build and Test
# Runs for PRs opened for any branch, and pushes to the dev branch.
on:
pull_request:
push:
branches:
- dev
jobs:
build-and-test-standard-runners:
name: Build and Test - root solution (standard runners)
uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-orchard-core.yml@issue/OSOE-743

Check failure on line 13 in .github/workflows/build-and-test.yml

View workflow run for this annotation

GitHub Actions / Build and Test

Invalid workflow file

The workflow is not valid. In .github/workflows/build-and-test.yml (Line: 13, Col: 11): Error from called workflow Lombiq/GitHub-Actions/.github/workflows/build-and-test-orchard-core.yml@issue/OSOE-743 (Line: 178, Col: 14): Unexpected symbol: ')'. Located at position 176 within expression: inputs.cancel-in-progress-for-this-pr == 'true' && github.event_name == 'pull_request' && format('{0}_{1}_{2}', github.workflow, github.ref, matrix.machine-type) || '')
with:
timeout-minutes: 40
set-up-sql-server: "true"
set-up-azurite: "true"
build-create-binary-log: "true"
blame-hang-timeout: "5m"
cancel-in-progress-for-this-pr: "false"
build-and-test-nuget-test:
name: Build and Test - NuGetTest solution
uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-orchard-core.yml@issue/OSOE-743
with:
build-directory: NuGetTest
timeout-minutes: 15
blame-hang-timeout: "5m"
cancel-in-progress-for-this-pr: "false"