Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 12 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
name: Quality

permissions:
contents: read
pull-requests: read
packages: write

on:
push:
tags:
Expand All @@ -14,14 +19,16 @@ on:
- '.github/**'
pull_request:

permissions:
contents: read
pull-requests: read

jobs:
check:
uses: openkcm/build/.github/workflows/ci.svc.yaml@main
with:
run_task_tests: false
run_makefile_tests: true
secrets: inherit
secrets: inherit

build-pr-image:
needs: check
if: github.event_name == 'pull_request'
uses: openkcm/build/.github/workflows/build-image.pr.svc.yaml@main
secrets: inherit
16 changes: 16 additions & 0 deletions .github/workflows/cleanup-image.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Nightly PR Image Cleanup

permissions:
packages: write
contents: read

on:
schedule:
# Run automatically at 2:00 AM UTC every day
- cron: '0 2 * * *'
workflow_dispatch: # Allows developers to trigger it manually via the Actions UI

jobs:
cleanup-stale-images:
uses: openkcm/build/.github/workflows/cleanup-ghcr.yaml@main
secrets: inherit
Loading