fix(ci): workflow runs with workflow_run

Fix workflows having trigger as `workflow_run`

Signed-off-by: Noel Georgi <git@frezbo.dev>
This commit is contained in:
Noel Georgi 2026-04-18 17:11:07 +05:30
parent 509cd97339
commit 6ce62d9e8e
No known key found for this signature in database
GPG Key ID: 21A9F444075C9E36
25 changed files with 163 additions and 25 deletions

View File

@ -1,6 +1,6 @@
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2026-04-16T16:39:06Z by kres b6d29bf-dirty.
# Generated on 2026-04-18T08:30:12Z by kres 2de15fc-dirty.
concurrency:
group: ${{ github.head_ref || github.run_id }}
@ -14,6 +14,12 @@ concurrency:
name: integration-airgapped-triggered
jobs:
default:
permissions:
actions: read
contents: write
issues: read
packages: write
pull-requests: read
runs-on:
group: large
if: github.event.workflow_run.conclusion == 'success'

View File

@ -1,6 +1,6 @@
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2026-04-17T07:31:21Z by kres b6d29bf-dirty.
# Generated on 2026-04-18T08:30:12Z by kres 2de15fc-dirty.
concurrency:
group: ${{ github.head_ref || github.run_id }}
@ -14,6 +14,12 @@ concurrency:
name: integration-aws-nvidia-triggered
jobs:
default:
permissions:
actions: read
contents: write
issues: read
packages: write
pull-requests: read
runs-on:
group: generic
if: github.event.workflow_run.conclusion == 'success'

View File

@ -1,6 +1,6 @@
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2026-04-17T07:31:21Z by kres b6d29bf-dirty.
# Generated on 2026-04-18T08:30:12Z by kres 2de15fc-dirty.
concurrency:
group: ${{ github.head_ref || github.run_id }}
@ -14,6 +14,12 @@ concurrency:
name: integration-aws-triggered
jobs:
default:
permissions:
actions: read
contents: write
issues: read
packages: write
pull-requests: read
runs-on:
group: generic
if: github.event.workflow_run.conclusion == 'success'

View File

@ -1,6 +1,6 @@
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2026-04-16T16:39:06Z by kres b6d29bf-dirty.
# Generated on 2026-04-18T08:30:12Z by kres 2de15fc-dirty.
concurrency:
group: ${{ github.head_ref || github.run_id }}
@ -14,6 +14,12 @@ concurrency:
name: integration-cilium-triggered
jobs:
default:
permissions:
actions: read
contents: write
issues: read
packages: write
pull-requests: read
runs-on:
group: large
if: github.event.workflow_run.conclusion == 'success'

View File

@ -1,6 +1,6 @@
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2026-04-16T16:39:06Z by kres b6d29bf-dirty.
# Generated on 2026-04-18T08:30:12Z by kres 2de15fc-dirty.
concurrency:
group: ${{ github.head_ref || github.run_id }}
@ -14,6 +14,12 @@ concurrency:
name: integration-cloud-images-triggered
jobs:
default:
permissions:
actions: read
contents: write
issues: read
packages: write
pull-requests: read
runs-on:
group: generic
if: github.event.workflow_run.conclusion == 'success'

View File

@ -1,6 +1,6 @@
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2026-04-17T07:31:21Z by kres b6d29bf-dirty.
# Generated on 2026-04-18T08:30:12Z by kres 2de15fc-dirty.
concurrency:
group: ${{ github.head_ref || github.run_id }}
@ -14,6 +14,12 @@ concurrency:
name: integration-conformance-triggered
jobs:
default:
permissions:
actions: read
contents: write
issues: read
packages: write
pull-requests: read
runs-on:
group: large
if: github.event.workflow_run.conclusion == 'success'

View File

@ -1,6 +1,6 @@
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2026-04-17T03:10:27Z by kres b6d29bf-dirty.
# Generated on 2026-04-18T08:30:12Z by kres 2de15fc-dirty.
concurrency:
group: ${{ github.head_ref || github.run_id }}
@ -14,6 +14,12 @@ concurrency:
name: integration-embedded-triggered
jobs:
default:
permissions:
actions: read
contents: write
issues: read
packages: write
pull-requests: read
runs-on:
group: large
if: github.event.workflow_run.conclusion == 'success'

View File

@ -1,6 +1,6 @@
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2026-04-16T16:39:06Z by kres b6d29bf-dirty.
# Generated on 2026-04-18T08:30:12Z by kres 2de15fc-dirty.
concurrency:
group: ${{ github.head_ref || github.run_id }}
@ -14,6 +14,12 @@ concurrency:
name: integration-extensions-triggered
jobs:
default:
permissions:
actions: read
contents: write
issues: read
packages: write
pull-requests: read
runs-on:
group: large
if: github.event.workflow_run.conclusion == 'success'

View File

@ -1,6 +1,6 @@
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2026-04-16T16:39:06Z by kres b6d29bf-dirty.
# Generated on 2026-04-18T08:30:12Z by kres 2de15fc-dirty.
concurrency:
group: ${{ github.head_ref || github.run_id }}
@ -14,6 +14,12 @@ concurrency:
name: integration-gcp-triggered
jobs:
default:
permissions:
actions: read
contents: write
issues: read
packages: write
pull-requests: read
runs-on:
group: generic
if: github.event.workflow_run.conclusion == 'success'

View File

@ -1,6 +1,6 @@
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2026-04-16T16:39:06Z by kres b6d29bf-dirty.
# Generated on 2026-04-18T08:30:12Z by kres 2de15fc-dirty.
concurrency:
group: ${{ github.head_ref || github.run_id }}
@ -14,6 +14,12 @@ concurrency:
name: integration-image-cache-triggered
jobs:
default:
permissions:
actions: read
contents: write
issues: read
packages: write
pull-requests: read
runs-on:
group: large
if: github.event.workflow_run.conclusion == 'success'

View File

@ -1,6 +1,6 @@
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2026-04-16T16:39:06Z by kres b6d29bf-dirty.
# Generated on 2026-04-18T08:30:12Z by kres 2de15fc-dirty.
concurrency:
group: ${{ github.head_ref || github.run_id }}
@ -14,6 +14,12 @@ concurrency:
name: integration-image-factory-triggered
jobs:
default:
permissions:
actions: read
contents: write
issues: read
packages: write
pull-requests: read
runs-on:
group: large
if: github.event.workflow_run.conclusion == 'success'

View File

@ -1,6 +1,6 @@
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2026-04-16T16:39:06Z by kres b6d29bf-dirty.
# Generated on 2026-04-18T08:30:12Z by kres 2de15fc-dirty.
concurrency:
group: ${{ github.head_ref || github.run_id }}
@ -14,6 +14,12 @@ concurrency:
name: integration-images-triggered
jobs:
default:
permissions:
actions: read
contents: write
issues: read
packages: write
pull-requests: read
runs-on:
group: generic
if: github.event.workflow_run.conclusion == 'success'

View File

@ -1,6 +1,6 @@
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2026-04-17T03:10:27Z by kres b6d29bf-dirty.
# Generated on 2026-04-18T08:30:12Z by kres 2de15fc-dirty.
concurrency:
group: ${{ github.head_ref || github.run_id }}
@ -14,6 +14,12 @@ concurrency:
name: integration-misc-0-triggered
jobs:
default:
permissions:
actions: read
contents: write
issues: read
packages: write
pull-requests: read
runs-on:
group: large
if: github.event.workflow_run.conclusion == 'success'

View File

@ -1,6 +1,6 @@
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2026-04-17T07:31:21Z by kres b6d29bf-dirty.
# Generated on 2026-04-18T08:30:12Z by kres 2de15fc-dirty.
concurrency:
group: ${{ github.head_ref || github.run_id }}
@ -14,6 +14,12 @@ concurrency:
name: integration-misc-1-triggered
jobs:
default:
permissions:
actions: read
contents: write
issues: read
packages: write
pull-requests: read
runs-on:
group: large
if: github.event.workflow_run.conclusion == 'success'

View File

@ -1,6 +1,6 @@
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2026-04-16T16:39:06Z by kres b6d29bf-dirty.
# Generated on 2026-04-18T08:30:12Z by kres 2de15fc-dirty.
concurrency:
group: ${{ github.head_ref || github.run_id }}
@ -14,6 +14,12 @@ concurrency:
name: integration-misc-2-triggered
jobs:
default:
permissions:
actions: read
contents: write
issues: read
packages: write
pull-requests: read
runs-on:
group: large
if: github.event.workflow_run.conclusion == 'success'

View File

@ -1,6 +1,6 @@
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2026-04-17T07:31:21Z by kres b6d29bf-dirty.
# Generated on 2026-04-18T08:30:12Z by kres 2de15fc-dirty.
concurrency:
group: ${{ github.head_ref || github.run_id }}
@ -14,6 +14,12 @@ concurrency:
name: integration-misc-3-triggered
jobs:
default:
permissions:
actions: read
contents: write
issues: read
packages: write
pull-requests: read
runs-on:
group: large
if: github.event.workflow_run.conclusion == 'success'

View File

@ -1,6 +1,6 @@
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2026-04-17T07:31:21Z by kres b6d29bf-dirty.
# Generated on 2026-04-18T08:30:12Z by kres 2de15fc-dirty.
concurrency:
group: ${{ github.head_ref || github.run_id }}
@ -14,6 +14,12 @@ concurrency:
name: integration-misc-4-triggered
jobs:
default:
permissions:
actions: read
contents: write
issues: read
packages: write
pull-requests: read
runs-on:
group: large
if: github.event.workflow_run.conclusion == 'success'

View File

@ -1,6 +1,6 @@
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2026-04-17T07:31:21Z by kres b6d29bf-dirty.
# Generated on 2026-04-18T08:30:12Z by kres 2de15fc-dirty.
concurrency:
group: ${{ github.head_ref || github.run_id }}
@ -14,6 +14,12 @@ concurrency:
name: integration-provision-triggered
jobs:
default:
permissions:
actions: read
contents: write
issues: read
packages: write
pull-requests: read
runs-on:
group: large
if: github.event.workflow_run.conclusion == 'success'

View File

@ -1,6 +1,6 @@
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2026-04-17T18:13:01Z by kres 15ff2fd.
# Generated on 2026-04-18T08:30:12Z by kres 2de15fc-dirty.
concurrency:
group: ${{ github.head_ref || github.run_id }}
@ -14,6 +14,12 @@ concurrency:
name: integration-qemu-csi-longhorn-triggered
jobs:
default:
permissions:
actions: read
contents: write
issues: read
packages: write
pull-requests: read
runs-on:
group: large
if: github.event.workflow_run.conclusion == 'success'

View File

@ -1,6 +1,6 @@
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2026-04-17T07:31:21Z by kres b6d29bf-dirty.
# Generated on 2026-04-18T08:30:12Z by kres 2de15fc-dirty.
concurrency:
group: ${{ github.head_ref || github.run_id }}
@ -14,6 +14,12 @@ concurrency:
name: integration-qemu-csi-triggered
jobs:
default:
permissions:
actions: read
contents: write
issues: read
packages: write
pull-requests: read
runs-on:
group: large
if: github.event.workflow_run.conclusion == 'success'

View File

@ -1,6 +1,6 @@
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2026-04-17T07:31:21Z by kres b6d29bf-dirty.
# Generated on 2026-04-18T08:30:12Z by kres 2de15fc-dirty.
concurrency:
group: ${{ github.head_ref || github.run_id }}
@ -14,6 +14,12 @@ concurrency:
name: integration-qemu-triggered
jobs:
default:
permissions:
actions: read
contents: write
issues: read
packages: write
pull-requests: read
runs-on:
group: large
if: github.event.workflow_run.conclusion == 'success'

View File

@ -1,6 +1,6 @@
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2026-04-16T16:39:06Z by kres b6d29bf-dirty.
# Generated on 2026-04-18T08:30:12Z by kres 2de15fc-dirty.
concurrency:
group: ${{ github.head_ref || github.run_id }}
@ -14,6 +14,12 @@ concurrency:
name: integration-reproducibility-test-triggered
jobs:
default:
permissions:
actions: read
contents: write
issues: read
packages: write
pull-requests: read
runs-on:
group: large
if: github.event.workflow_run.conclusion == 'success'

View File

@ -1,6 +1,6 @@
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2026-04-17T07:31:21Z by kres b6d29bf-dirty.
# Generated on 2026-04-18T08:30:12Z by kres 2de15fc-dirty.
concurrency:
group: ${{ github.head_ref || github.run_id }}
@ -14,6 +14,12 @@ concurrency:
name: integration-trusted-boot-triggered
jobs:
default:
permissions:
actions: read
contents: write
issues: read
packages: write
pull-requests: read
runs-on:
group: large
if: github.event.workflow_run.conclusion == 'success'

View File

@ -113,7 +113,7 @@ func (ctrl *MaintenanceConfigController) Run(ctx context.Context, r controller.R
}
} else {
// create/update config
if err = safe.WriterModify[*runtime.MaintenanceServiceConfig](ctx, r, runtime.NewMaintenanceServiceConfig(),
if err = safe.WriterModify(ctx, r, runtime.NewMaintenanceServiceConfig(),
func(config *runtime.MaintenanceServiceConfig) error {
config.TypedSpec().ListenAddress = listenAddress
config.TypedSpec().ReachableAddresses = reachableAddresses

View File

@ -29,6 +29,7 @@ require (
github.com/siderolabs/net v0.4.0
github.com/siderolabs/protoenc v0.2.4
github.com/stretchr/testify v1.11.1
go.uber.org/zap v1.27.1
go.yaml.in/yaml/v4 v4.0.0-rc.4
golang.org/x/net v0.53.0
google.golang.org/genproto/googleapis/api v0.0.0-20260414002931-afd174a4e478
@ -62,7 +63,6 @@ require (
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/sasha-s/go-deadlock v0.3.5 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.27.1 // indirect
golang.org/x/crypto v0.50.0 // indirect
golang.org/x/exp v0.0.0-20250128182459-e0ece0dbea4c // indirect
golang.org/x/sync v0.20.0 // indirect