summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrajaktaPurohit <PrajaktaPurohit@users.noreply.github.com>2022-05-17 13:01:56 -0700
committerGitHub <noreply@github.com>2022-05-17 13:01:56 -0700
commit17c15da1af6ca8e5c9529c57e6abcbe504fa9fd3 (patch)
tree9dbe6dc6b321dd354141857006ea86aacb072869
parentecac9bc41e7aff16786af373029d685ac7f558d4 (diff)
parent386f834f7fa772a8015a4d642df6536edf06c847 (diff)
downloadohai-17c15da1af6ca8e5c9529c57e6abcbe504fa9fd3.tar.gz
Merge pull request #1746 from turrisxyz/naveen/feat/set-perms-actions
Set permissions for GitHub actions
-rw-r--r--.github/workflows/exec.yml3
-rw-r--r--.github/workflows/unit.yml3
2 files changed, 6 insertions, 0 deletions
diff --git a/.github/workflows/exec.yml b/.github/workflows/exec.yml
index 49a50579..4aabba5e 100644
--- a/.github/workflows/exec.yml
+++ b/.github/workflows/exec.yml
@@ -9,6 +9,9 @@ name: exec
- 1=7-stable
- 16-stable
+permissions:
+ contents: read
+
jobs:
test:
strategy:
diff --git a/.github/workflows/unit.yml b/.github/workflows/unit.yml
index 9bc13e99..8ec47d47 100644
--- a/.github/workflows/unit.yml
+++ b/.github/workflows/unit.yml
@@ -9,6 +9,9 @@ name: unit
- 17-stable
- 16-stable
+permissions:
+ contents: read
+
jobs:
test:
strategy: