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.
This commit is contained in:
parent
4e6ee29ddd
commit
6524fe7f6f
1 changed files with 2 additions and 0 deletions
2
.github/workflows/test-agents.yml
vendored
2
.github/workflows/test-agents.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue