Skip to content

Commit 8ea074c

Browse files
authored
ci: check action permissions (#1057)
* ci: check action permissions * ci: try minimal permissions
1 parent d891e2b commit 8ea074c

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed
Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
name: check-with-upstream
2+
permissions: {}
23
# Run every Monday.
34
on:
45
schedule:
5-
- cron: '0 0 * * 1'
6+
- cron: "0 0 * * 1"
67
jobs:
78
check-selectors-ksm:
89
runs-on: ubuntu-latest
910
name: Check if KSM selectors are present on applicable metrics.
1011
steps:
11-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
12-
with:
13-
persist-credentials: false
14-
- run: make --always-make check-selectors-ksm
12+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
13+
with:
14+
persist-credentials: false
15+
- run: make --always-make check-selectors-ksm

.github/workflows/ci.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: ci
2+
permissions: {}
23
on:
34
push:
45
branches:

0 commit comments

Comments
 (0)