From a2597be51a73df0af27a8fad380bc9e96b7ee974 Mon Sep 17 00:00:00 2001 From: "internet-dot[bot]" Date: Mon, 6 Apr 2026 18:54:49 +0000 Subject: [PATCH] ci: add codex-plugin-scanner GitHub Action --- .github/workflows/codex-plugin-scanner.yml | 38 ++++++++++++++++++++++ 1 file changed, 38 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..4ac4c05 --- /dev/null +++ b/.github/workflows/codex-plugin-scanner.yml @@ -0,0 +1,38 @@ +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 + uses: hashgraph-online/hol-codex-plugin-scanner-action@e83708a91ae4812872aa2905b99ad559a55c74ab + with: + plugin_dir: "." + mode: scan + fail_on_severity: critical