Skip to content

Commit 0b7b506

Browse files
committed
chore(workflows): align on push/pull_request events across workflows
1 parent ba634ed commit 0b7b506

3 files changed

Lines changed: 12 additions & 15 deletions

File tree

.github/workflows/ci-actions.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
name: zizmor
22

33
on:
4-
push:
5-
branches: ["main"]
64
pull_request:
7-
branches: ["**"]
5+
branches:
6+
- main
7+
push:
8+
branches:
9+
- main
810

911
permissions:
1012
contents: read # Needed to checkout the repository.

.github/workflows/codeql.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
name: codeql
22

33
on:
4-
push:
5-
branches: [ "main" ]
64
pull_request:
7-
branches: [ "main" ]
5+
branches:
6+
- main
7+
push:
8+
branches:
9+
- main
810
schedule:
911
- cron: '33 16 * * 0'
1012

.github/workflows/publish.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,12 @@
11
name: publish
22

33
on:
4-
push:
4+
pull_request:
55
branches:
66
- main
7-
8-
pull_request:
7+
push:
98
branches:
109
- main
11-
paths:
12-
- bin/**
13-
- src/**
14-
- Cargo.*
15-
- rust-toolchain.toml
16-
- .github/workflows/publish.yaml
1710

1811
permissions:
1912
contents: read # Needed to checkout the repository.

0 commit comments

Comments
 (0)