Browse Source

add permission to all workflows (#5086)

Khaleel Al-Adhami 1 month ago
parent
commit
a39d64ff77

+ 2 - 0
.github/workflows/check_node_latest.yml

@@ -1,4 +1,6 @@
 name: integration-node-latest
+permissions:
+  contents: read
 
 on:
   push:

+ 2 - 0
.github/workflows/check_outdated_dependencies.yml

@@ -1,4 +1,6 @@
 name: check-outdated-dependencies
+permissions:
+  contents: read
 
 on:
   push: # This will trigger the action when a pull request is opened or updated.

+ 2 - 0
.github/workflows/performance.yml

@@ -1,4 +1,6 @@
 name: performance-tests
+permissions:
+  contents: read
 
 on:
   push:

+ 2 - 0
.github/workflows/pre-commit.yml

@@ -1,4 +1,6 @@
 name: pre-commit
+permissions:
+  contents: read
 
 concurrency:
   group: ${{ github.workflow }}-${{ github.event.pull_request.id }}

+ 2 - 0
.github/workflows/reflex_init_in_docker_test.yml

@@ -1,4 +1,6 @@
 name: reflex-init-in-docker-test
+permissions:
+  contents: read
 
 concurrency:
   group: ${{ github.workflow }}-${{ github.event.pull_request.id }}