From f28eb106c57d83a9c6a0d95c83bc8140057c575e Mon Sep 17 00:00:00 2001 From: "internet-dot[bot]" Date: Wed, 8 Apr 2026 09:03:18 +0000 Subject: [PATCH] ci: add codex-plugin-scanner GitHub Action --- .github/workflows/codex-plugin-scanner.yml | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/codex-plugin-scanner.yml diff --git a/.github/workflows/codex-plugin-scanner.yml b/.github/workflows/codex-plugin-scanner.yml new file mode 100644 index 0000000..ef3c729 --- /dev/null +++ b/.github/workflows/codex-plugin-scanner.yml @@ -0,0 +1,39 @@ +name: Codex Plugin Scanner CI + +on: + push: + branches: [main] + paths: + - '.codex-plugin/**' + - 'skills/**' + - '.mcp.json' + pull_request: + branches: [main] + paths: + - '.codex-plugin/**' + - 'skills/**' + - '.mcp.json' + +permissions: + contents: read + +concurrency: + group: scanner-${{ github.ref }} + cancel-in-progress: true + +jobs: + scan: + name: Plugin Scanner + runs-on: ubuntu-latest + timeout-minutes: 10 + steps: + - name: Checkout + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.2.2 + + - name: Run scanner + continue-on-error: true + uses: hashgraph-online/hol-codex-plugin-scanner-action@b159c3199f338f4767b225fa748484401ad40563 + with: + plugin_dir: "." + mode: scan + fail_on_severity: critical