Skip to content

armgit / camel

Public Imported from GitHub
0

🐫 CAMEL: The first and the best multi-agent framework. Finding the Scaling Law of Agents. https://www.camel-ai.org

enhance: update workflow setting (#3527)

Wendong-Fan6470861c511f
diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml
index 3823ba26b..8fbd728e9 100644
--- a/.github/workflows/documentation.yml
+++ b/.github/workflows/documentation.yml
@@ -6,11 +6,13 @@ on:
workflow_dispatch:
permissions:
- contents: write
+ contents: read
jobs:
docs:
runs-on: ubuntu-latest
+ permissions:
+ contents: write
steps:
- name: Harden the runner (Audit all outbound calls)
diff --git a/.github/workflows/pre_commit.yml b/.github/workflows/pre_commit.yml
index a12d95979..44d6cc69d 100644
--- a/.github/workflows/pre_commit.yml
+++ b/.github/workflows/pre_commit.yml
@@ -14,6 +14,9 @@ on:
- "docs/**/*.rst"
- "LICENSE"
+permissions:
+ contents: read
+
jobs:
pre-commit:
runs-on: ubuntu-latest