Просмотр исходного кода

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 9 месяцев назад
Родитель
Сommit
6524fe7f6f
1 измененных файлов с 2 добавлено и 0 удалено
  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