From 04c950a723a13d06388df76a21d3cc17d21d5aba Mon Sep 17 00:00:00 2001 From: Kevin Stillhammer Date: Tue, 18 Mar 2025 15:04:58 +0100 Subject: [PATCH] Add workflow_dispatch triggers to every workflow (#326) Allows for easier testing. --- .github/workflows/check-dist.yml | 4 +++- .github/workflows/codeql-analysis.yml | 9 +++++---- .github/workflows/release-drafter.yml | 2 +- .github/workflows/test-cache-windows.yml | 3 +++ .github/workflows/test-cache.yml | 3 +++ .github/workflows/test-windows.yml | 3 +++ .github/workflows/test.yml | 3 +++ 7 files changed, 21 insertions(+), 6 deletions(-) diff --git a/.github/workflows/check-dist.yml b/.github/workflows/check-dist.yml index 54d1fe4..ae670c4 100644 --- a/.github/workflows/check-dist.yml +++ b/.github/workflows/check-dist.yml @@ -6,11 +6,13 @@ name: Check dist/ on: + workflow_dispatch: push: branches: - main pull_request: - workflow_dispatch: + branches: + - main jobs: check-dist: diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index f0162d1..9f4c552 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -12,13 +12,14 @@ name: "CodeQL" on: + workflow_dispatch: push: - branches: [main] + branches: + - main pull_request: # The branches below must be a subset of the branches above - branches: [main] - schedule: - - cron: "31 7 * * 3" + branches: + - main jobs: analyze: diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index f757b14..ab82d28 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -3,10 +3,10 @@ name: Release Drafter # yamllint disable-line rule:truthy on: + workflow_dispatch: push: branches: - main - workflow_dispatch: jobs: update_release_draft: diff --git a/.github/workflows/test-cache-windows.yml b/.github/workflows/test-cache-windows.yml index def7bae..a7a7398 100644 --- a/.github/workflows/test-cache-windows.yml +++ b/.github/workflows/test-cache-windows.yml @@ -1,6 +1,9 @@ name: "test-cache-windows" on: + workflow_dispatch: pull_request: + branches: + - main push: branches: - main diff --git a/.github/workflows/test-cache.yml b/.github/workflows/test-cache.yml index 0d85cec..eecb94b 100644 --- a/.github/workflows/test-cache.yml +++ b/.github/workflows/test-cache.yml @@ -1,6 +1,9 @@ name: "test-cache" on: + workflow_dispatch: pull_request: + branches: + - main push: branches: - main diff --git a/.github/workflows/test-windows.yml b/.github/workflows/test-windows.yml index 06be023..df74d21 100644 --- a/.github/workflows/test-windows.yml +++ b/.github/workflows/test-windows.yml @@ -1,6 +1,9 @@ name: "test-windows" on: + workflow_dispatch: pull_request: + branches: + - main push: branches: - main diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 44aec58..b38cfa5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,6 +1,9 @@ name: "test" on: + workflow_dispatch: pull_request: + branches: + - main push: branches: - main