Skip to content

Commit 70ed11d

Browse files
authored
chore: added explicit workflow perms (#348)
1 parent a133cdd commit 70ed11d

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
name: CI-Pipeline
22

3+
permissions:
4+
contents: read
5+
statuses: write
6+
pull-requests: write
7+
issues: write
8+
39
# Controls when the workflow will run, when comment is created
410
on:
511
issue_comment:

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Release-Pipeline
22

3+
permissions:
4+
contents: write
5+
issues: write
6+
37
# Trigger on push(merge) to main branch
48
on:
59
push:

0 commit comments

Comments
 (0)