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.