aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThéophane Hufschmitt <7226587+thufschmitt@users.noreply.github.com>2022-07-05 16:00:39 +0200
committerGitHub <noreply@github.com>2022-07-05 16:00:39 +0200
commit057b02fd25b9aec4c66005de302fcc22b74bb088 (patch)
tree757bb7a611d45223f830864e5db5b8f8b1e143e9
parentd63cd77549706431676f3764c619a5f6fb0a2d37 (diff)
parentd31c520f40101326179fe27bad7ccc2045c73156 (diff)
Merge pull request #6746 from turrisxyz/Pinned-Dependencies-GitHub
chore: Set permissions for GitHub actions
-rw-r--r--.github/workflows/ci.yml2
-rw-r--r--.github/workflows/hydra_status.yml3
2 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index fc6531ea5..1a317f267 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -28,6 +28,8 @@ jobs:
- run: nix --experimental-features 'nix-command flakes' flake check -L
check_cachix:
+ permissions:
+ contents: none
name: Cachix secret present for installer tests
runs-on: ubuntu-latest
outputs:
diff --git a/.github/workflows/hydra_status.yml b/.github/workflows/hydra_status.yml
index 53e69cb2d..d85999256 100644
--- a/.github/workflows/hydra_status.yml
+++ b/.github/workflows/hydra_status.yml
@@ -3,6 +3,9 @@ on:
schedule:
- cron: "12,42 * * * *"
workflow_dispatch:
+permissions:
+ contents: read
+
jobs:
check_hydra_status:
name: Check Hydra status