From c1f46aa8628e606c402ab1fc907cf46e35e5119a Mon Sep 17 00:00:00 2001 From: Justin Figueroa Date: Wed, 18 Jan 2023 14:21:07 -0500 Subject: [PATCH] Fix #2225, Adds workflow_dispatch to all workflows Adds time-staggered schedule workflows in addition to workflow_dispatch --- .github/workflows/build-documentation.yml | 5 +++++ .github/workflows/code-coverage.yml | 4 ++++ .github/workflows/codeql-build.yml | 4 ++++ .github/workflows/format-check.yml | 4 ++++ .github/workflows/functional-tests.yml | 4 ++++ .github/workflows/static-analysis.yml | 4 ++++ 6 files changed, 25 insertions(+) diff --git a/.github/workflows/build-documentation.yml b/.github/workflows/build-documentation.yml index 5b00bd4cf..2f319de62 100644 --- a/.github/workflows/build-documentation.yml +++ b/.github/workflows/build-documentation.yml @@ -3,6 +3,11 @@ name: cFS Documentation and Guides on: push: pull_request: + workflow_dispatch: + schedule: + # 10:45 PM UTC every Sunday + - cron: '45 22 * * 0' + jobs: # Checks for duplicate actions. Skips push actions if there is a matching or diff --git a/.github/workflows/code-coverage.yml b/.github/workflows/code-coverage.yml index b7180a80f..45153fd92 100644 --- a/.github/workflows/code-coverage.yml +++ b/.github/workflows/code-coverage.yml @@ -3,6 +3,10 @@ name: "Code Coverage Analysis" on: push: pull_request: + workflow_dispatch: + schedule: + # 11:00 PM UTC every Sunday + - cron: '0 23 * * 0' env: SIMULATION: native diff --git a/.github/workflows/codeql-build.yml b/.github/workflows/codeql-build.yml index 00a86762d..1c86e725d 100644 --- a/.github/workflows/codeql-build.yml +++ b/.github/workflows/codeql-build.yml @@ -3,6 +3,10 @@ name: "CodeQL Analysis" on: push: pull_request: + workflow_dispatch: + schedule: + # 11:15 PM UTC every Sunday + - cron: '15 23 * * 0' jobs: codeql: diff --git a/.github/workflows/format-check.yml b/.github/workflows/format-check.yml index bf12f09e2..61c101cff 100644 --- a/.github/workflows/format-check.yml +++ b/.github/workflows/format-check.yml @@ -4,6 +4,10 @@ name: Format Check on: push: pull_request: + workflow_dispatch: + schedule: + # 11:30 PM UTC every Sunday + - cron: '30 23 * * 0' jobs: format-check: diff --git a/.github/workflows/functional-tests.yml b/.github/workflows/functional-tests.yml index c989c6517..121c088dc 100644 --- a/.github/workflows/functional-tests.yml +++ b/.github/workflows/functional-tests.yml @@ -3,6 +3,10 @@ name: "Functional Test" on: push: pull_request: + workflow_dispatch: + schedule: + # 11:45 PM UTC every Sunday + - cron: '45 23 * * 0' env: SIMULATION: native diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 017f54bb8..d24c93fe7 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -4,6 +4,10 @@ name: Static Analysis on: push: pull_request: + workflow_dispatch: + schedule: + # 11:59 PM UTC every Sunday + - cron: '59 23 * * 0' jobs: static-analysis: