From 7f5294c61736e209d36aeeaf64a7dbe2eb288ce3 Mon Sep 17 00:00:00 2001 From: internet-dot <207546839+internet-dot@users.noreply.github.com> Date: Sun, 5 Apr 2026 19:36:01 +0000 Subject: [PATCH 1/3] Add Codex plugin scanner CI workflow --- .github/workflows/codex-plugin-scanner.yml | 24 ++++++++++++++++++++++ 1 file changed, 24 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..3747c0a --- /dev/null +++ b/.github/workflows/codex-plugin-scanner.yml @@ -0,0 +1,24 @@ +name: Codex Plugin Quality Gate + +on: + push: + branches: [main] + pull_request: + branches: [main] + +concurrency: + group: codex-plugin-scanner-${{ github.ref }} + cancel-in-progress: true + +jobs: + scan: + runs-on: ubuntu-latest + timeout-minutes: 10 + permissions: + contents: read + steps: + - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 + - name: Codex plugin scanner + uses: hashgraph-online/hol-codex-plugin-scanner-action@b45d6b583afe05819b24edc8e6418c9ad2e1f1d0 # v1 + with: + plugin_dir: "." \ No newline at end of file From 50f3297fed92e4a40ca0163333f58e989fa2f98b Mon Sep 17 00:00:00 2001 From: internet-dot <207546839+internet-dot@users.noreply.github.com> Date: Sun, 5 Apr 2026 19:36:01 +0000 Subject: [PATCH 2/3] ci: add codex-plugin-scanner GitHub Action --- .github/workflows/codex-plugin-scanner.yml | 28 +++++++++++++++------- 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/.github/workflows/codex-plugin-scanner.yml b/.github/workflows/codex-plugin-scanner.yml index 3747c0a..060de6a 100644 --- a/.github/workflows/codex-plugin-scanner.yml +++ b/.github/workflows/codex-plugin-scanner.yml @@ -1,24 +1,36 @@ -name: Codex Plugin Quality Gate +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: codex-plugin-scanner-${{ github.ref }} + group: scanner-${{ github.ref }} cancel-in-progress: true jobs: scan: + name: Plugin Scanner runs-on: ubuntu-latest timeout-minutes: 10 - permissions: - contents: read steps: - - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 - - name: Codex plugin scanner - uses: hashgraph-online/hol-codex-plugin-scanner-action@b45d6b583afe05819b24edc8e6418c9ad2e1f1d0 # v1 + - name: Checkout + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.2.2 + + - name: Run scanner + uses: hashgraph-online/codex-plugin-scanner@b45d6b583afe05819b24edc8e6418c9ad2e1f1d0 # v1 with: - plugin_dir: "." \ No newline at end of file + args: scan --fail-on critical From 2bdaf441724e23859738341132b34b39f9978d5d Mon Sep 17 00:00:00 2001 From: internet-dot <207546839+internet-dot@users.noreply.github.com> Date: Sun, 5 Apr 2026 19:36:01 +0000 Subject: [PATCH 3/3] fix: use correct scanner action repo and remove custom args --- .github/workflows/codex-plugin-scanner.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/codex-plugin-scanner.yml b/.github/workflows/codex-plugin-scanner.yml index 060de6a..128caa2 100644 --- a/.github/workflows/codex-plugin-scanner.yml +++ b/.github/workflows/codex-plugin-scanner.yml @@ -31,6 +31,5 @@ jobs: uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.2.2 - name: Run scanner - uses: hashgraph-online/codex-plugin-scanner@b45d6b583afe05819b24edc8e6418c9ad2e1f1d0 # v1 + uses: hashgraph-online/hol-codex-plugin-scanner-action@b45d6b583afe05819b24edc8e6418c9ad2e1f1d0 # v1 with: - args: scan --fail-on critical