Skip to content

Commit 72c9d23

Browse files
authored
Merge pull request #983 from arpitjain099/ci/add-permissions
ci: declare permissions on ci, generate-dashboards, grafana_dashboard
2 parents 79fc220 + f8e8779 commit 72c9d23

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/generate-dashboards.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
paths:
99
- 'prombench/manifests/cluster-infra/grafana_dashboard_dashboards_noparse.yaml'
1010
- 'prombench/manifests/cluster-infra/dashboards/**'
11+
permissions:
12+
contents: read
13+
1114
jobs:
1215
verify_dashboard_generation:
1316
name: Verify Dashboard Generation

.github/workflows/grafana_dashboard.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ on:
55
- master
66
paths:
77
- 'prombench/manifests/cluster-infra/grafana_dashboard_dashboards_noparse.yaml'
8+
# Posts a success/failure comment on the PR associated with the commit.
9+
permissions:
10+
contents: read
11+
pull-requests: write
12+
813
jobs:
914
apply_grafana_dashboard:
1015
name: Apply Dashboard

0 commit comments

Comments
 (0)