Skip to content

Commit 93742f9

Browse files
authored
Merge pull request #675 from openziti/codeql-workflow-permissions
add permissions block to workflows
2 parents e82359f + d3d1b2d commit 93742f9

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed

.github/workflows/draft-release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
name: Release Drafter
2+
permissions:
3+
contents: read
24

35
on:
46
push:

.github/workflows/gradle-build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
name: CI build
2-
2+
permissions:
3+
contents: read
34
on:
45
workflow_dispatch:
56

.github/workflows/mattermost-ziti-webhook.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
name: ziti-mattermost-action-py
2+
permissions: {}
3+
24
on:
35
issues:
46
issue_comment:

.github/workflows/publish-release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
name: Publish Release
2-
2+
permissions:
3+
contents: read
34
on:
45
push:
56
branches:

0 commit comments

Comments
 (0)