Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

Add readonly permissions

Blue Mousecdd4926e3424
diff --git a/.github/workflows/discord-notify.yml b/.github/workflows/discord-notify.yml
index df8438a90..00d3ff466 100644
--- a/.github/workflows/discord-notify.yml
+++ b/.github/workflows/discord-notify.yml
@@ -3,6 +3,9 @@ on:
release:
types: [published]
+permissions:
+ contents: read
+
jobs:
notify:
name: Send Discord notification
diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml
index a9d67efec..e86d9e3d5 100644
--- a/.github/workflows/pull_request.yml
+++ b/.github/workflows/pull_request.yml
@@ -6,6 +6,9 @@ on:
branches: [main]
types: [opened, labeled, synchronize, ready_for_review]
+permissions:
+ contents: read
+
jobs:
backend-checks:
name: Backend Checks
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 49dd9c7ce..fce418d79 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -3,6 +3,9 @@ on:
release:
types: [published]
+permissions:
+ contents: read
+
jobs:
push_backend_to_registry:
name: Push Swetrix API Docker image to Docker Hub