From 0b7b5066e451c21fe52acf31d4e80bc67b2359c5 Mon Sep 17 00:00:00 2001 From: Alex Zenla Date: Mon, 3 Nov 2025 03:01:57 -0500 Subject: [PATCH] chore(workflows): align on push/pull_request events across workflows --- .github/workflows/ci-actions.yml | 8 +++++--- .github/workflows/codeql.yml | 8 +++++--- .github/workflows/publish.yml | 13 +++---------- 3 files changed, 13 insertions(+), 16 deletions(-) diff --git a/.github/workflows/ci-actions.yml b/.github/workflows/ci-actions.yml index 0bfd0b3..29d7e5c 100644 --- a/.github/workflows/ci-actions.yml +++ b/.github/workflows/ci-actions.yml @@ -1,10 +1,12 @@ name: zizmor on: - push: - branches: ["main"] pull_request: - branches: ["**"] + branches: + - main + push: + branches: + - main permissions: contents: read # Needed to checkout the repository. diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index f2a301f..60199c0 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -1,10 +1,12 @@ name: codeql on: - push: - branches: [ "main" ] pull_request: - branches: [ "main" ] + branches: + - main + push: + branches: + - main schedule: - cron: '33 16 * * 0' diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index dd52d80..77f8ba4 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,19 +1,12 @@ name: publish on: - push: - branches: - - main - pull_request: branches: - main - paths: - - bin/** - - src/** - - Cargo.* - - rust-toolchain.toml - - .github/workflows/publish.yaml + push: + branches: + - main permissions: contents: read # Needed to checkout the repository.