Open-source, local-first social media research agent for Instagram, TikTok, and LinkedIn. Jev routes read-only steps; socai CLI captures cited browser evidence.
JavaScript agent-skillsai-agentsbrowser-agentbrowser-automationdecision-modeldeep-researchinstagramjevlinkedinlocal-firstopen-sourceosintresearch-agentsocaisocial-listeningsocial-mediasocial-media-researchsocmintsystem-onetiktok
ci: upgrade CodeQL Action to v4 (#109)
Asklv178517796525
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.ymlindex 32b3852..1673c95 100644--- a/.github/workflows/codeql.yml+++ b/.github/workflows/codeql.yml@@ -23,10 +23,10 @@ jobs:- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1with:persist-credentials: false- - uses: github/codeql-action/init@1190a975f95ce23525efb6a3fc21ea29567c1b52 # v3+ - uses: github/codeql-action/init@2892aa5e19bbd11bc0cff5427e3b750a04d9e3c2 # v4.38.2with:languages: javascript-typescriptbuild-mode: none- - uses: github/codeql-action/analyze@1190a975f95ce23525efb6a3fc21ea29567c1b52 # v3+ - uses: github/codeql-action/analyze@2892aa5e19bbd11bc0cff5427e3b750a04d9e3c2 # v4.38.2with:category: /language:javascript-typescriptdiff --git a/test/codeql-workflow.test.js b/test/codeql-workflow.test.jsnew file mode 100644index 0000000..f3c7bd5--- /dev/null+++ b/test/codeql-workflow.test.js@@ -0,0 +1,23 @@+import assert from "node:assert/strict";+import { readFile } from "node:fs/promises";+import test from "node:test";++const workflow = await readFile(+ new URL("../.github/workflows/codeql.yml", import.meta.url),+ "utf8",+);++test("CodeQL init and analyze use one immutable v4 release", () => {+ const actions = [+ ...workflow.matchAll(+ /github\/codeql-action\/(init|analyze)@([a-f0-9]{40}) # v(4\.\d+\.\d+)/g,+ ),+ ];++ assert.deepEqual(+ actions.map((match) => match[1]),+ ["init", "analyze"],+ );+ assert.equal(new Set(actions.map((match) => match[2])).size, 1);+ assert.equal(new Set(actions.map((match) => match[3])).size, 1);+});