Skip to content
Open
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
33 changes: 26 additions & 7 deletions .github/workflows/scheduled-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,34 @@ on:
# Nightly build at 4:00 AM UTC (after liboscal-java)
- cron: '0 4 * * *'
workflow_dispatch:
permissions:
actions: read
contents: write
security-events: write
inputs:
ref:
description: 'Git ref to checkout (branch, tag, or SHA)'
required: false
default: 'develop'
type: string
skip_code_scans:
description: 'Skip CodeQL and Trivy security scans'
required: false
default: true
type: boolean
skip_linkcheck:
description: 'Skip website link checker'
required: false
default: true
type: boolean
jobs:
nightly:
permissions:
actions: read
contents: write
security-events: write
packages: write
attestations: write
id-token: write
uses: ./.github/workflows/build.yml
with:
ref: develop
skip_code_scans: true
skip_linkcheck: true
ref: ${{ inputs.ref || 'develop' }}
skip_code_scans: ${{ github.event_name == 'schedule' || inputs.skip_code_scans }}
skip_linkcheck: ${{ github.event_name == 'schedule' || inputs.skip_linkcheck }}
secrets: inherit
Loading