On every Saturday #63
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed | |
name: On every Saturday | |
on: | |
workflow_dispatch: | |
inputs: | |
type: | |
description: 'Emulate a push manually: Only do this if a manual report update is required!' | |
required: false | |
default: 'nothing' | |
type: choice | |
options: | |
- schedule | |
- nothing | |
schedule: | |
- cron: "0 0 * * 6" # Run at 00:00 on every Saturday | |
jobs: | |
# see https://docs.github.com/en/actions/using-workflows/reusing-workflows#calling-a-reusable-workflow | |
build_reports: | |
name: Build Compliance Reports | |
uses: ./.github/workflows/build-reports.yml | |
secrets: inherit | |
publish_reports: | |
name: Publish Compliance Reports | |
needs: [build_reports] | |
uses: ./.github/workflows/publish-reports.yml | |
secrets: inherit | |
with: | |
type: ${{ github.event.inputs.type || github.event_name }} |