Skip to content

armgit / AiSOC

Public Imported from GitHub
0

Open-source AI Security Operations Center: alert fusion, LLM-agent triage, MITRE ATT&CK investigation, and a replayable decision ledger for every agent step. Self-hostable, runs with no API keys, MIT licensed. Ships an MCP server for Claude, Cursor and Continue.

ci: grant contents:write to OpenAPI auto-export job (#228)

Beenu Arora7e5e6c359122
diff --git a/.github/workflows/check-openapi.yml b/.github/workflows/check-openapi.yml
index ecb0cca64..970dbefab 100644
--- a/.github/workflows/check-openapi.yml
+++ b/.github/workflows/check-openapi.yml
@@ -58,6 +58,11 @@ jobs:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
needs: openapi-check
+ # The default GITHUB_TOKEN is read-only under the repo's restrictive
+ # token policy, so the commit/push step below 403s. Grant write scope so
+ # the bot can push the regenerated docs/openapi.yaml back to main.
+ permissions:
+ contents: write
steps:
- uses: actions/checkout@v6