From eae1ecd08bceab47bdec7ef2c58fd44a96bb9163 Mon Sep 17 00:00:00 2001 From: John Safranek Date: Tue, 20 Jan 2026 15:47:45 -0800 Subject: [PATCH] GitHub Actions Update 1. Change all actions to run on push only to master, main, or a release. 2. Change all actions to run on workflow_dispatch. --- .github/workflows/cppcheck.yml | 3 ++- .github/workflows/kyber.yml | 3 ++- .github/workflows/os-check.yml | 3 ++- .github/workflows/paramiko-sftp-test.yml | 3 ++- .github/workflows/scp-test.yml | 3 ++- .github/workflows/sftp-test.yml | 3 ++- .github/workflows/singlethread-check.yml | 3 ++- .github/workflows/sshd-test.yml | 3 ++- .github/workflows/test-fatfs.yml | 4 ++-- .github/workflows/tpm-ssh.yml | 3 ++- .github/workflows/windows-check.yml | 3 ++- .github/workflows/zephyr.yml | 3 ++- 12 files changed, 24 insertions(+), 13 deletions(-) diff --git a/.github/workflows/cppcheck.yml b/.github/workflows/cppcheck.yml index 4cc5d5c2e..25120a414 100644 --- a/.github/workflows/cppcheck.yml +++ b/.github/workflows/cppcheck.yml @@ -2,9 +2,10 @@ name: Cppcheck Test on: push: - branches: [ '*' ] + branches: [ 'master', 'main', 'release/**' ] pull_request: branches: [ '*' ] + workflow_dispatch: jobs: run_cppcheck: diff --git a/.github/workflows/kyber.yml b/.github/workflows/kyber.yml index 8171f1aa2..0167c558e 100644 --- a/.github/workflows/kyber.yml +++ b/.github/workflows/kyber.yml @@ -2,9 +2,10 @@ name: ML-KEM Tests on: push: - branches: [ '*' ] + branches: [ 'master', 'main', 'release/**' ] pull_request: branches: [ '*' ] + workflow_dispatch: env: LIBOQS_REF: 0.10.0 diff --git a/.github/workflows/os-check.yml b/.github/workflows/os-check.yml index afda6c2fa..846ecfda9 100644 --- a/.github/workflows/os-check.yml +++ b/.github/workflows/os-check.yml @@ -2,9 +2,10 @@ name: OS Check Test on: push: - branches: [ '*' ] + branches: [ 'master', 'main', 'release/**' ] pull_request: branches: [ '*' ] + workflow_dispatch: concurrency: group: ${{ github.workflow }}-${{ github.ref }} diff --git a/.github/workflows/paramiko-sftp-test.yml b/.github/workflows/paramiko-sftp-test.yml index 129bc3c5c..542eba102 100644 --- a/.github/workflows/paramiko-sftp-test.yml +++ b/.github/workflows/paramiko-sftp-test.yml @@ -2,9 +2,10 @@ name: wolfSSH Paramiko SFTP Test on: push: - branches: [ '*' ] + branches: [ 'master', 'main', 'release/**' ] pull_request: branches: [ '*' ] + workflow_dispatch: concurrency: group: ${{ github.workflow }}-${{ github.ref }} diff --git a/.github/workflows/scp-test.yml b/.github/workflows/scp-test.yml index 379d467fd..322587d06 100644 --- a/.github/workflows/scp-test.yml +++ b/.github/workflows/scp-test.yml @@ -2,9 +2,10 @@ name: wolfSSH SCP Test on: push: - branches: [ '*' ] + branches: [ 'master', 'main', 'release/**' ] pull_request: branches: [ '*' ] + workflow_dispatch: concurrency: group: ${{ github.workflow }}-${{ github.ref }} diff --git a/.github/workflows/sftp-test.yml b/.github/workflows/sftp-test.yml index dfcc2becb..caccbeff8 100644 --- a/.github/workflows/sftp-test.yml +++ b/.github/workflows/sftp-test.yml @@ -2,9 +2,10 @@ name: wolfSSH SFTP Test on: push: - branches: [ '*' ] + branches: [ 'master', 'main', 'release/**' ] pull_request: branches: [ '*' ] + workflow_dispatch: concurrency: group: ${{ github.workflow }}-${{ github.ref }} diff --git a/.github/workflows/singlethread-check.yml b/.github/workflows/singlethread-check.yml index 9055af338..45f1a95db 100644 --- a/.github/workflows/singlethread-check.yml +++ b/.github/workflows/singlethread-check.yml @@ -2,9 +2,10 @@ name: Single-thread Check Test on: push: - branches: [ '*' ] + branches: [ 'master', 'main', 'release/**' ] pull_request: branches: [ '*' ] + workflow_dispatch: concurrency: group: ${{ github.workflow }}-${{ github.ref }} diff --git a/.github/workflows/sshd-test.yml b/.github/workflows/sshd-test.yml index 3fbe3daf8..9314e37b2 100644 --- a/.github/workflows/sshd-test.yml +++ b/.github/workflows/sshd-test.yml @@ -2,9 +2,10 @@ name: wolfSSHd Test on: push: - branches: [ '*' ] + branches: [ 'master', 'main', 'release/**' ] pull_request: branches: [ '*' ] + workflow_dispatch: concurrency: group: ${{ github.workflow }}-${{ github.ref }} diff --git a/.github/workflows/test-fatfs.yml b/.github/workflows/test-fatfs.yml index 5431351ba..04196121e 100644 --- a/.github/workflows/test-fatfs.yml +++ b/.github/workflows/test-fatfs.yml @@ -2,9 +2,9 @@ name: Test FATFS Support on: push: - branches: [ master ] + branches: [ 'master', 'main', 'release/**' ] pull_request: - branches: [ master ] + branches: [ '*' ] workflow_dispatch: jobs: diff --git a/.github/workflows/tpm-ssh.yml b/.github/workflows/tpm-ssh.yml index af39eb7b3..d3f53c2d8 100644 --- a/.github/workflows/tpm-ssh.yml +++ b/.github/workflows/tpm-ssh.yml @@ -2,9 +2,10 @@ name: TPM SSH Test on: push: - branches: [ '*' ] + branches: [ 'master', 'main', 'release/**' ] pull_request: branches: [ '*' ] + workflow_dispatch: jobs: test-tpm-ssh: diff --git a/.github/workflows/windows-check.yml b/.github/workflows/windows-check.yml index 044988f3b..cf4e955f2 100644 --- a/.github/workflows/windows-check.yml +++ b/.github/workflows/windows-check.yml @@ -2,9 +2,10 @@ name: Windows Build Test on: push: - branches: [ '*' ] + branches: [ 'master', 'main', 'release/**' ] pull_request: branches: [ '*' ] + workflow_dispatch: env: WOLFSSL_SOLUTION_FILE_PATH: wolfssl64.sln diff --git a/.github/workflows/zephyr.yml b/.github/workflows/zephyr.yml index 307e4b32f..a312c1de7 100644 --- a/.github/workflows/zephyr.yml +++ b/.github/workflows/zephyr.yml @@ -2,9 +2,10 @@ name: Zephyr tests on: push: - branches: [ '*' ] + branches: [ 'master', 'main', 'release/**' ] pull_request: branches: [ '*' ] + workflow_dispatch: jobs: run_test: