Skip to content

Commit

Permalink
attempt to fix nightly again
Browse files Browse the repository at this point in the history
Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com>
  • Loading branch information
mgovers committed Sep 26, 2024
1 parent 27f53d5 commit 0f8005c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 25 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/clang-tidy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@ on:
type: string
description: "The CMake target to run (e.g.: all)"
required: true
cancel_in_progress:
type: boolean
description: Cancel this action if a newer one is kicked off
default: false # by default, don't cancel in progress
required: false
# run this workflow manually from the Actions tab
workflow_dispatch:
inputs:
Expand All @@ -38,15 +33,10 @@ on:
- power_grid_model_api_tests
- all power_grid_model_benchmark_cpp
required: true
cancel_in_progress:
type: boolean
description: Cancel this action if a newer one is kicked off
default: true
required: false

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ inputs.cancel_in_progress != 'false' }}
cancel-in-progress: true

jobs:
clang-tidy:
Expand Down
12 changes: 1 addition & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ on:
description: Create a (pre-)release when CI passes
default: false
required: false
cancel_in_progress:
type: boolean
description: Cancel this action if a newer one is kicked off
default: false # by default, don't cancel in progress
required: false
# run this workflow manually from the Actions tab
workflow_dispatch:
inputs:
Expand All @@ -35,15 +30,10 @@ on:
description: Create a (pre-)release when CI passes
default: false
required: true
cancel_in_progress:
type: boolean
description: Cancel this action if a newer one is kicked off
default: true
required: false

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ inputs.cancel_in_progress != 'false' }}
cancel-in-progress: true


jobs:
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
- cron: "0 2 * * *" # Based on UTC time

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.ref }}-root
cancel-in-progress: true

jobs:
Expand All @@ -21,11 +21,9 @@ jobs:
contents: write
with:
create_release: false
cancel_in_progress: false

clang-tidy:
uses: "./.github/workflows/clang-tidy.yml"
with:
target: power_grid_model_c
# target: "all power_grid_model_benchmark_cpp" # TODO(mgovers): re-enable when more clang-tidy stuff is fixed
cancel_in_progress: false

0 comments on commit 0f8005c

Please sign in to comment.