Skip to content

Commit 73a294c

Browse files
committed
chore: add workflow permissions block for codeql and use consistent workflow list style
1 parent e1b22a4 commit 73a294c

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

.github/workflows/lint-and-test-infra.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,13 @@ name: Lint and Test Infrastructure Setup
22

33
on:
44
pull_request:
5-
branches: [main]
6-
types: [opened, synchronize, reopened]
5+
types:
6+
- opened
7+
- synchronize
8+
- reopened
9+
10+
permissions:
11+
contents: read
712

813
jobs:
914
lint-and-test-infra-code:

.github/workflows/lint-and-test-scripts.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,13 @@ name: Lint and Test Setup Scripts
22

33
on:
44
pull_request:
5-
branches: [main]
6-
types: [opened, synchronize, reopened]
5+
types:
6+
- opened
7+
- synchronize
8+
- reopened
9+
10+
permissions:
11+
contents: read
712

813
jobs:
914
lint-and-test-setup-scripts:

0 commit comments

Comments
 (0)