Browse Source

fix(ci): add contents:write permission for auto version bump

The GITHUB_TOKEN needs explicit write permission to push commits
and tags back to the repository.
darrenhinde 4 months ago
parent
commit
6524fe7f6f
1 changed files with 2 additions and 0 deletions
  1. 2 0
      .github/workflows/test-agents.yml

+ 2 - 0
.github/workflows/test-agents.yml

@@ -154,6 +154,8 @@ jobs:
     runs-on: ubuntu-latest
     needs: [test-openagent, test-opencoder]
     if: github.event_name == 'push' && github.ref == 'refs/heads/main'
+    permissions:
+      contents: write
     
     steps:
       - name: Checkout code