Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

ci: run AgentScan on new pull requests

Tin2ff2d75750cb
diff --git a/.github/workflows/agentscan.yml b/.github/workflows/agentscan.yml
new file mode 100644
index 000000000..c04e9d73d
--- /dev/null
+++ b/.github/workflows/agentscan.yml
@@ -0,0 +1,27 @@
+name: AgentScan
+
+on:
+ # zizmor: ignore[dangerous-triggers] Analyzes PR authors through the GitHub
+ # API; never checks out or runs code from the PR.
+ pull_request_target:
+ types: [opened, reopened]
+
+permissions:
+ contents: read
+ issues: write
+ pull-requests: write
+
+concurrency:
+ group: agentscan-${{ github.event.pull_request.number }}
+ cancel-in-progress: true
+
+jobs:
+ scan:
+ runs-on: blacksmith-4vcpu-ubuntu-2404
+ timeout-minutes: 5
+ steps:
+ - name: Label and comment on flagged PRs
+ uses: MatteoGabriele/agentscan-action@c7d61446e7aece6bdd3edcee4558bbfc0392615e
+ with:
+ mode: full
+ auto-close: false