@intentius/chant-lexicon-github 0.101.0 → 0.104.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action-pins.d.ts +53 -0
- package/dist/action-pins.d.ts.map +1 -0
- package/dist/codegen/naming.d.ts.map +1 -1
- package/dist/components/generate-op-pipeline.d.ts.map +1 -1
- package/dist/components/generate-pipeline.d.ts.map +1 -1
- package/dist/composites/checkout.d.ts +7 -0
- package/dist/composites/checkout.d.ts.map +1 -1
- package/dist/composites/dependabot.d.ts.map +1 -1
- package/dist/composites/deploy-environment.d.ts.map +1 -1
- package/dist/composites/docker-build.d.ts.map +1 -1
- package/dist/composites/go-ci.d.ts.map +1 -1
- package/dist/composites/node-ci.d.ts.map +1 -1
- package/dist/composites/node-pipeline.d.ts +30 -30
- package/dist/composites/node-pipeline.d.ts.map +1 -1
- package/dist/composites/python-ci.d.ts.map +1 -1
- package/dist/composites/setup-node.d.ts +7 -0
- package/dist/composites/setup-node.d.ts.map +1 -1
- package/dist/expression.d.ts.map +1 -1
- package/dist/generated/index.d.ts +22 -22
- package/dist/generated/index.d.ts.map +1 -1
- package/dist/import/generator.d.ts.map +1 -1
- package/dist/import/parser.d.ts.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/integrity.json +7 -6
- package/dist/lint/audit-catalog.d.ts.map +1 -1
- package/dist/lint/audit-lineage.d.ts +13 -0
- package/dist/lint/audit-lineage.d.ts.map +1 -1
- package/dist/lint/post-synth/gha021.d.ts.map +1 -1
- package/dist/lint/post-synth/gha029.d.ts.map +1 -1
- package/dist/lint/post-synth/gha059.d.ts.map +1 -1
- package/dist/lint/post-synth/gha069.d.ts +33 -0
- package/dist/lint/post-synth/gha069.d.ts.map +1 -0
- package/dist/lint/post-synth/index.d.ts.map +1 -1
- package/dist/lint/post-synth/yaml-helpers.d.ts +20 -0
- package/dist/lint/post-synth/yaml-helpers.d.ts.map +1 -1
- package/dist/lint/rules/data/deprecated-versions.d.ts.map +1 -1
- package/dist/manifest.json +1 -1
- package/dist/okf/index.md +1 -0
- package/dist/okf/rules/GHA069.md +16 -0
- package/dist/okf/types/Job.md +1 -0
- package/dist/okf/types/Workflow.md +1 -0
- package/dist/rules/gha021.ts +24 -24
- package/dist/rules/gha029.ts +3 -2
- package/dist/rules/gha059.ts +10 -2
- package/dist/rules/gha069.ts +111 -0
- package/dist/rules/yaml-helpers.ts +41 -47
- package/dist/variables.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/action-pins.test.ts +87 -0
- package/src/action-pins.ts +75 -0
- package/src/codegen/docs.ts +1 -1
- package/src/components/__fixtures__/pr-loop.github.golden.yml +68 -0
- package/src/components/generate-op-pipeline.test.ts +4 -4
- package/src/components/generate-op-pipeline.ts +8 -7
- package/src/components/generate-pipeline.test.ts +30 -1
- package/src/components/generate-pipeline.ts +157 -14
- package/src/components/generate-pr-pipeline.test.ts +98 -0
- package/src/composites/checkout.ts +8 -1
- package/src/composites/composites.test.ts +4 -4
- package/src/composites/deploy-environment.ts +3 -2
- package/src/composites/docker-build.ts +2 -1
- package/src/composites/go-ci.ts +4 -3
- package/src/composites/node-ci.ts +3 -2
- package/src/composites/node-pipeline.ts +8 -7
- package/src/composites/python-ci.ts +3 -2
- package/src/composites/setup-node.ts +8 -1
- package/src/index.ts +4 -0
- package/src/lint/audit-catalog.ts +1 -0
- package/src/lint/audit-lineage.ts +13 -0
- package/src/lint/post-synth/fixtures/GHA069/negative-no-job-block.yml +16 -0
- package/src/lint/post-synth/fixtures/GHA069/negative-no-oidc-step.yml +22 -0
- package/src/lint/post-synth/fixtures/GHA069/negative.yml +21 -0
- package/src/lint/post-synth/fixtures/GHA069/positive.yml +20 -0
- package/src/lint/post-synth/gha011.test.ts +16 -0
- package/src/lint/post-synth/gha018.test.ts +18 -0
- package/src/lint/post-synth/gha019.test.ts +42 -0
- package/src/lint/post-synth/gha021.test.ts +18 -0
- package/src/lint/post-synth/gha021.ts +24 -24
- package/src/lint/post-synth/gha022.test.ts +15 -0
- package/src/lint/post-synth/gha023.test.ts +19 -0
- package/src/lint/post-synth/gha029.ts +3 -2
- package/src/lint/post-synth/gha038.test.ts +20 -0
- package/src/lint/post-synth/gha059.ts +10 -2
- package/src/lint/post-synth/gha069.test.ts +173 -0
- package/src/lint/post-synth/gha069.ts +111 -0
- package/src/lint/post-synth/index.ts +2 -0
- package/src/lint/post-synth/yaml-helpers.test.ts +83 -0
- package/src/lint/post-synth/yaml-helpers.ts +41 -47
- package/src/lint/rules/data/deprecated-versions.ts +5 -2
- package/src/lint/rules/deprecated-action-version.test.ts +1 -1
- package/src/lint/rules/rules.test.ts +1 -1
- package/src/mcp/context-tools.test.ts +17 -0
- package/src/plugin.test.ts +1 -1
- package/src/serializer.ts +15 -4
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The action versions the github lexicon emits, and the commit each release
|
|
3
|
+
* tag points at.
|
|
4
|
+
*
|
|
5
|
+
* Composites emit `<slug>@<major>` by default. With `pin: "sha"` they emit
|
|
6
|
+
* `<slug>@<sha> # <version>`, the form GHA021 and GHA029 accept and GHA059
|
|
7
|
+
* reads the version label from. The serializer writes the `# <version>` part
|
|
8
|
+
* as a YAML comment, so GitHub sees only the SHA.
|
|
9
|
+
*
|
|
10
|
+
* Refresh a row by resolving the release tag to its commit:
|
|
11
|
+
*
|
|
12
|
+
* gh api repos/actions/checkout/commits/v7.0.1 --jq .sha
|
|
13
|
+
*
|
|
14
|
+
* Keep `major` on a version whose action runs on a Node runtime GitHub still
|
|
15
|
+
* supports.
|
|
16
|
+
*/
|
|
17
|
+
export interface ActionPin {
|
|
18
|
+
/** The major tag composites emit by default, such as `v7`. */
|
|
19
|
+
major: string;
|
|
20
|
+
/** The release the SHA belongs to, written as the pin's comment. */
|
|
21
|
+
version: string;
|
|
22
|
+
/** The full commit SHA of `version`. */
|
|
23
|
+
sha: string;
|
|
24
|
+
}
|
|
25
|
+
export declare const ACTION_PINS: {
|
|
26
|
+
readonly "actions/checkout": {
|
|
27
|
+
readonly major: "v7";
|
|
28
|
+
readonly version: "v7.0.1";
|
|
29
|
+
readonly sha: "3d3c42e5aac5ba805825da76410c181273ba90b1";
|
|
30
|
+
};
|
|
31
|
+
readonly "actions/setup-node": {
|
|
32
|
+
readonly major: "v7";
|
|
33
|
+
readonly version: "v7.0.0";
|
|
34
|
+
readonly sha: "820762786026740c76f36085b0efc47a31fe5020";
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
export type PinnedAction = keyof typeof ACTION_PINS;
|
|
38
|
+
/**
|
|
39
|
+
* How a composite refers to its action: `"tag"` emits the major tag
|
|
40
|
+
* (`actions/checkout@v7`), `"sha"` emits the pinned commit with its version
|
|
41
|
+
* as a comment (`actions/checkout@3d3c…90b1 # v7.0.1`).
|
|
42
|
+
*/
|
|
43
|
+
export type ActionPinMode = "tag" | "sha";
|
|
44
|
+
/** The `uses:` value for a pinned action. */
|
|
45
|
+
export declare function actionRef(slug: PinnedAction, pin?: ActionPinMode): string;
|
|
46
|
+
/** The pin table entry for an action slug, if the lexicon maintains one. */
|
|
47
|
+
export declare function actionPin(slug: string): ActionPin | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* The exact fix a pinning warning names for an action in the pin table, or
|
|
50
|
+
* an empty string for any other action.
|
|
51
|
+
*/
|
|
52
|
+
export declare function pinFixHint(slug: string): string;
|
|
53
|
+
//# sourceMappingURL=action-pins.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action-pins.d.ts","sourceRoot":"","sources":["../src/action-pins.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,MAAM,WAAW,SAAS;IACxB,8DAA8D;IAC9D,KAAK,EAAE,MAAM,CAAC;IACd,oEAAoE;IACpE,OAAO,EAAE,MAAM,CAAC;IAChB,wCAAwC;IACxC,GAAG,EAAE,MAAM,CAAC;CACb;AAED,eAAO,MAAM,WAAW;;iBAEpB,KAAK,EAAE,IAAI;iBACX,OAAO,EAAE,QAAQ;iBACjB,GAAG,EAAE,0CAA0C;;;iBAG/C,KAAK,EAAE,IAAI;iBACX,OAAO,EAAE,QAAQ;iBACjB,GAAG,EAAE,0CAA0C;;CAEL,CAAC;AAE/C,MAAM,MAAM,YAAY,GAAG,MAAM,OAAO,WAAW,CAAC;AAEpD;;;;GAIG;AACH,MAAM,MAAM,aAAa,GAAG,KAAK,GAAG,KAAK,CAAC;AAE1C,6CAA6C;AAC7C,wBAAgB,SAAS,CAAC,IAAI,EAAE,YAAY,EAAE,GAAG,GAAE,aAAqB,GAAG,MAAM,CAGhF;AAED,4EAA4E;AAC5E,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,CAI7D;AAOD;;;GAGG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAI/C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"naming.d.ts","sourceRoot":"","sources":["../../src/codegen/naming.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EACL,cAAc,IAAI,kBAAkB,EAGrC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAsC,KAAK,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAErF,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAkCnF;;GAEG;AACH,qBAAa,cAAe,SAAQ,kBAAkB;
|
|
1
|
+
{"version":3,"file":"naming.d.ts","sourceRoot":"","sources":["../../src/codegen/naming.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EACL,cAAc,IAAI,kBAAkB,EAGrC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAsC,KAAK,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAErF,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAkCnF;;GAEG;AACH,qBAAa,cAAe,SAAQ,kBAAkB;IACpD,YAAY,OAAO,EAAE,iBAAiB,EAAE,EAMvC;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate-op-pipeline.d.ts","sourceRoot":"","sources":["../../src/components/generate-op-pipeline.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsEG;AAIH,OAAO,KAAK,EACV,wBAAwB,IAAI,uBAAuB,EACnD,aAAa,EAEb,aAAa,EACb,gBAAgB,IAAI,sBAAsB,EAC1C,WAAW,EACX,SAAS,EAET,eAAe,EAChB,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"generate-op-pipeline.d.ts","sourceRoot":"","sources":["../../src/components/generate-op-pipeline.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsEG;AAIH,OAAO,KAAK,EACV,wBAAwB,IAAI,uBAAuB,EACnD,aAAa,EAEb,aAAa,EACb,gBAAgB,IAAI,sBAAsB,EAC1C,WAAW,EACX,SAAS,EAET,eAAe,EAChB,MAAM,0BAA0B,CAAC;AAGlC,YAAY,EAAE,uBAAuB,EAAE,sBAAsB,EAAE,CAAC;AAEhE;;;;;;GAMG;AACH,MAAM,WAAW,mBAAmB;IAClC;;;;;;;OAOG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC5B,2DAA2D;IAC3D,GAAG,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9B,6DAA6D;IAC7D,WAAW,EAAE,MAAM,CAAC,MAAM,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CAAA;CAAE,CAkG1D;AAwCD;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,mBAAmB,GAAG,MAAM,CAgBnE;AAED;;;;;GAKG;AACH,wBAAgB,wBAAwB,CACtC,GAAG,EAAE,eAAe,EAAE,EACtB,OAAO,GAAE,uBAA4B,GACpC,sBAAsB,CAMxB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate-pipeline.d.ts","sourceRoot":"","sources":["../../src/components/generate-pipeline.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDG;AAGH,OAAO,EAAyB,KAAK,eAAe,EAAE,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"generate-pipeline.d.ts","sourceRoot":"","sources":["../../src/components/generate-pipeline.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDG;AAGH,OAAO,EAAyB,KAAK,eAAe,EAAE,MAAM,oCAAoC,CAAC;AAKjG,OAAO,KAAK,EACV,oBAAoB,IAAI,YAAY,EACpC,wBAAwB,IAAI,qBAAqB,EACjD,uBAAuB,IAAI,oBAAoB,EAEhD,MAAM,0BAA0B,CAAC;AAGlC,YAAY,EAAE,YAAY,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,CAAC;AAE1E;;;;;;GAMG;AACH,MAAM,WAAW,iBAAiB;IAChC;;;;;OAKG;IACH,IAAI,EAAE,MAAM,CAAC;IACb,6FAA6F;IAC7F,WAAW,EAAE,MAAM,CAAC;IACpB,8DAA8D;IAC9D,EAAE,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC5B,mIAAmI;IACnI,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnC;;;;;;OAMG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9B,qDAAqD;IACrD,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjC,uEAAuE;IACvE,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,0DAA0D;IAC1D,IAAI,EAAE,YAAY,EAAE,CAAC;CACtB;AAmKD;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,MAAM,CAWpD;AAED;;;;;;;;GAQG;AACH,wBAAgB,sBAAsB,CACpC,UAAU,EAAE,eAAe,EAAE,EAC7B,OAAO,GAAE,qBAA0B,GAClC,iBAAiB,CAgLnB;AA4CD;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,iBAAiB,GAAG,MAAM,CAU/D;AAED;;;;;GAKG;AACH,wBAAgB,sBAAsB,CACpC,UAAU,EAAE,eAAe,EAAE,EAC7B,OAAO,GAAE,qBAA0B,GAClC,oBAAoB,CAGtB"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Step } from "../generated/index.js";
|
|
2
|
+
import { type ActionPinMode } from "../action-pins.js";
|
|
2
3
|
export interface CheckoutProps {
|
|
3
4
|
ref?: string;
|
|
4
5
|
repository?: string;
|
|
@@ -6,6 +7,12 @@ export interface CheckoutProps {
|
|
|
6
7
|
token?: string;
|
|
7
8
|
submodules?: boolean | string;
|
|
8
9
|
sshKey?: string;
|
|
10
|
+
/**
|
|
11
|
+
* `"tag"` (default) emits the action's major tag. `"sha"` emits the commit
|
|
12
|
+
* SHA from the lexicon's pin table with the version as a YAML comment, which
|
|
13
|
+
* passes GHA021, GHA029 and GHA059.
|
|
14
|
+
*/
|
|
15
|
+
pin?: ActionPinMode;
|
|
9
16
|
defaults?: {
|
|
10
17
|
step?: Partial<ConstructorParameters<typeof Step>[0]>;
|
|
11
18
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkout.d.ts","sourceRoot":"","sources":["../../src/composites/checkout.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"checkout.d.ts","sourceRoot":"","sources":["../../src/composites/checkout.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAC1C,OAAO,EAAa,KAAK,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAE/D,MAAM,WAAW,aAAa;IAC5B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,GAAG,CAAC,EAAE,aAAa,CAAC;IACpB,QAAQ,CAAC,EAAE;QACT,IAAI,CAAC,EAAE,OAAO,CAAC,qBAAqB,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;KACvD,CAAC;CACH;AAED,eAAO,MAAM,QAAQ;;EAiBP,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dependabot.d.ts","sourceRoot":"","sources":["../../src/composites/dependabot.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAE,iBAAiB,EAAE,KAAK,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAEjF,mDAAmD;AACnD,MAAM,WAAW,gBAAgB;IAC/B,qDAAqD;IACrD,gBAAgB,EAAE,MAAM,CAAC;IACzB,2CAA2C;IAC3C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,uBAAuB;IACvB,QAAQ,EAAE;QAAE,QAAQ,EAAE,OAAO,GAAG,QAAQ,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C,EAAE,MAAM,CAAC;CAChC;AAED;;;GAGG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,GAAG,gBAAgB,CAYnE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deploy-environment.d.ts","sourceRoot":"","sources":["../../src/composites/deploy-environment.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAQ,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"deploy-environment.d.ts","sourceRoot":"","sources":["../../src/composites/deploy-environment.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAQ,MAAM,oBAAoB,CAAC;AAG/C,MAAM,WAAW,sBAAsB;IACrC,kCAAkC;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,mCAAmC;IACnC,YAAY,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAChC,2DAA2D;IAC3D,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAClC,sBAAsB;IACtB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,kDAAkD;IAClD,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,gDAAgD;IAChD,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,6CAA6C;IAC7C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE;QACT,SAAS,CAAC,EAAE,OAAO,CAAC,qBAAqB,CAAC,OAAO,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAC1D,UAAU,CAAC,EAAE,OAAO,CAAC,qBAAqB,CAAC,OAAO,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;KAC5D,CAAC;CACH;AAED,eAAO,MAAM,iBAAiB;;;EAsDP,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"docker-build.d.ts","sourceRoot":"","sources":["../../src/composites/docker-build.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAQ,QAAQ,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"docker-build.d.ts","sourceRoot":"","sources":["../../src/composites/docker-build.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAQ,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAGzD,MAAM,WAAW,gBAAgB;IAC/B,8CAA8C;IAC9C,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,6CAA6C;IAC7C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kCAAkC;IAClC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,mEAAmE;IACnE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yCAAyC;IACzC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,8BAA8B;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACnC,4CAA4C;IAC5C,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,kEAAkE;IAClE,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,6CAA6C;IAC7C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE;QACT,GAAG,CAAC,EAAE,OAAO,CAAC,qBAAqB,CAAC,OAAO,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACpD,QAAQ,CAAC,EAAE,OAAO,CAAC,qBAAqB,CAAC,OAAO,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;KAC/D,CAAC;CACH;AAED,eAAO,MAAM,WAAW;;;EA0FP,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"go-ci.d.ts","sourceRoot":"","sources":["../../src/composites/go-ci.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAQ,QAAQ,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"go-ci.d.ts","sourceRoot":"","sources":["../../src/composites/go-ci.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAQ,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAGzD,MAAM,WAAW,SAAS;IACxB,kCAAkC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sDAAsD;IACtD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,+CAA+C;IAC/C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,+EAA+E;IAC/E,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,6CAA6C;IAC7C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE;QACT,QAAQ,CAAC,EAAE,OAAO,CAAC,qBAAqB,CAAC,OAAO,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACzD,OAAO,CAAC,EAAE,OAAO,CAAC,qBAAqB,CAAC,OAAO,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACxD,OAAO,CAAC,EAAE,OAAO,CAAC,qBAAqB,CAAC,OAAO,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACxD,QAAQ,CAAC,EAAE,OAAO,CAAC,qBAAqB,CAAC,OAAO,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;KAC/D,CAAC;CACH;AAED,eAAO,MAAM,IAAI,gEAuEP,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node-ci.d.ts","sourceRoot":"","sources":["../../src/composites/node-ci.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAQ,QAAQ,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"node-ci.d.ts","sourceRoot":"","sources":["../../src/composites/node-ci.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAQ,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAGzD,MAAM,WAAW,WAAW;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,MAAM,GAAG,KAAK,CAAC;IACjD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE;QACT,GAAG,CAAC,EAAE,OAAO,CAAC,qBAAqB,CAAC,OAAO,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACpD,QAAQ,CAAC,EAAE,OAAO,CAAC,qBAAqB,CAAC,OAAO,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;KAC/D,CAAC;CACH;AAED,eAAO,MAAM,MAAM;;;EAwDP,CAAC"}
|
|
@@ -31,20 +31,20 @@ export declare const NodePipeline: import("@intentius/chant").CompositeDefinitio
|
|
|
31
31
|
}>;
|
|
32
32
|
/** NodePipeline preset for Bun projects. */
|
|
33
33
|
export declare const BunPipeline: import("@intentius/chant").CompositeDefinition<{
|
|
34
|
+
nodeVersion?: string;
|
|
35
|
+
packageManager?: "npm" | "pnpm" | "yarn" | "bun";
|
|
36
|
+
buildScript?: string;
|
|
37
|
+
testScript?: string;
|
|
38
|
+
installCommand?: string;
|
|
39
|
+
buildArtifactPaths?: string[];
|
|
40
|
+
artifactName?: string;
|
|
41
|
+
artifactRetentionDays?: number;
|
|
42
|
+
runsOn?: string;
|
|
34
43
|
defaults?: {
|
|
35
44
|
buildJob?: Partial<ConstructorParameters<typeof Job>[0]>;
|
|
36
45
|
testJob?: Partial<ConstructorParameters<typeof Job>[0]>;
|
|
37
46
|
workflow?: Partial<ConstructorParameters<typeof Workflow>[0]>;
|
|
38
|
-
}
|
|
39
|
-
nodeVersion?: string | undefined;
|
|
40
|
-
installCommand?: string | undefined;
|
|
41
|
-
buildScript?: string | undefined;
|
|
42
|
-
testScript?: string | undefined;
|
|
43
|
-
runsOn?: string | undefined;
|
|
44
|
-
artifactName?: string | undefined;
|
|
45
|
-
buildArtifactPaths?: string[] | undefined;
|
|
46
|
-
artifactRetentionDays?: number | undefined;
|
|
47
|
-
packageManager?: "npm" | "pnpm" | "yarn" | "bun" | undefined;
|
|
47
|
+
};
|
|
48
48
|
}, {
|
|
49
49
|
workflow: import("@intentius/chant").Declarable & Record<string, string>;
|
|
50
50
|
buildJob: import("@intentius/chant").Declarable & Record<string, string>;
|
|
@@ -52,20 +52,20 @@ export declare const BunPipeline: import("@intentius/chant").CompositeDefinition
|
|
|
52
52
|
}>;
|
|
53
53
|
/** NodePipeline preset for pnpm projects. */
|
|
54
54
|
export declare const PnpmPipeline: import("@intentius/chant").CompositeDefinition<{
|
|
55
|
+
nodeVersion?: string;
|
|
56
|
+
packageManager?: "npm" | "pnpm" | "yarn" | "bun";
|
|
57
|
+
buildScript?: string;
|
|
58
|
+
testScript?: string;
|
|
59
|
+
installCommand?: string;
|
|
60
|
+
buildArtifactPaths?: string[];
|
|
61
|
+
artifactName?: string;
|
|
62
|
+
artifactRetentionDays?: number;
|
|
63
|
+
runsOn?: string;
|
|
55
64
|
defaults?: {
|
|
56
65
|
buildJob?: Partial<ConstructorParameters<typeof Job>[0]>;
|
|
57
66
|
testJob?: Partial<ConstructorParameters<typeof Job>[0]>;
|
|
58
67
|
workflow?: Partial<ConstructorParameters<typeof Workflow>[0]>;
|
|
59
|
-
}
|
|
60
|
-
nodeVersion?: string | undefined;
|
|
61
|
-
installCommand?: string | undefined;
|
|
62
|
-
buildScript?: string | undefined;
|
|
63
|
-
testScript?: string | undefined;
|
|
64
|
-
runsOn?: string | undefined;
|
|
65
|
-
artifactName?: string | undefined;
|
|
66
|
-
buildArtifactPaths?: string[] | undefined;
|
|
67
|
-
artifactRetentionDays?: number | undefined;
|
|
68
|
-
packageManager?: "npm" | "pnpm" | "yarn" | "bun" | undefined;
|
|
68
|
+
};
|
|
69
69
|
}, {
|
|
70
70
|
workflow: import("@intentius/chant").Declarable & Record<string, string>;
|
|
71
71
|
buildJob: import("@intentius/chant").Declarable & Record<string, string>;
|
|
@@ -73,20 +73,20 @@ export declare const PnpmPipeline: import("@intentius/chant").CompositeDefinitio
|
|
|
73
73
|
}>;
|
|
74
74
|
/** NodePipeline preset for Yarn projects. */
|
|
75
75
|
export declare const YarnPipeline: import("@intentius/chant").CompositeDefinition<{
|
|
76
|
+
nodeVersion?: string;
|
|
77
|
+
packageManager?: "npm" | "pnpm" | "yarn" | "bun";
|
|
78
|
+
buildScript?: string;
|
|
79
|
+
testScript?: string;
|
|
80
|
+
installCommand?: string;
|
|
81
|
+
buildArtifactPaths?: string[];
|
|
82
|
+
artifactName?: string;
|
|
83
|
+
artifactRetentionDays?: number;
|
|
84
|
+
runsOn?: string;
|
|
76
85
|
defaults?: {
|
|
77
86
|
buildJob?: Partial<ConstructorParameters<typeof Job>[0]>;
|
|
78
87
|
testJob?: Partial<ConstructorParameters<typeof Job>[0]>;
|
|
79
88
|
workflow?: Partial<ConstructorParameters<typeof Workflow>[0]>;
|
|
80
|
-
}
|
|
81
|
-
nodeVersion?: string | undefined;
|
|
82
|
-
installCommand?: string | undefined;
|
|
83
|
-
buildScript?: string | undefined;
|
|
84
|
-
testScript?: string | undefined;
|
|
85
|
-
runsOn?: string | undefined;
|
|
86
|
-
artifactName?: string | undefined;
|
|
87
|
-
buildArtifactPaths?: string[] | undefined;
|
|
88
|
-
artifactRetentionDays?: number | undefined;
|
|
89
|
-
packageManager?: "npm" | "pnpm" | "yarn" | "bun" | undefined;
|
|
89
|
+
};
|
|
90
90
|
}, {
|
|
91
91
|
workflow: import("@intentius/chant").Declarable & Record<string, string>;
|
|
92
92
|
buildJob: import("@intentius/chant").Declarable & Record<string, string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node-pipeline.d.ts","sourceRoot":"","sources":["../../src/composites/node-pipeline.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAQ,Q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CAAC,CAAC,CAAC;QACzD,OAAO,CAAC,EAAE,OAAO,CAAC,qBAAqB,CAAC,OAAO,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACxD,QAAQ,CAAC,EAAE,OAAO,CAAC,qBAAqB,CAAC,OAAO,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;KAC/D;;;;;EA8HwF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"python-ci.d.ts","sourceRoot":"","sources":["../../src/composites/python-ci.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAQ,QAAQ,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"python-ci.d.ts","sourceRoot":"","sources":["../../src/composites/python-ci.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAQ,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAGzD,MAAM,WAAW,aAAa;IAC5B,sCAAsC;IACtC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,kEAAkE;IAClE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,0EAA0E;IAC1E,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,qDAAqD;IACrD,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,gDAAgD;IAChD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,6CAA6C;IAC7C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE;QACT,OAAO,CAAC,EAAE,OAAO,CAAC,qBAAqB,CAAC,OAAO,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACxD,OAAO,CAAC,EAAE,OAAO,CAAC,qBAAqB,CAAC,OAAO,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACxD,QAAQ,CAAC,EAAE,OAAO,CAAC,qBAAqB,CAAC,OAAO,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;KAC/D,CAAC;CACH;AAED,eAAO,MAAM,QAAQ,oEAsEP,CAAC"}
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import { Step } from "../generated/index.js";
|
|
2
|
+
import { type ActionPinMode } from "../action-pins.js";
|
|
2
3
|
export interface SetupNodeProps {
|
|
3
4
|
nodeVersion?: string;
|
|
4
5
|
registryUrl?: string;
|
|
5
6
|
cache?: string;
|
|
6
7
|
cacheFilePath?: string;
|
|
8
|
+
/**
|
|
9
|
+
* `"tag"` (default) emits the action's major tag. `"sha"` emits the commit
|
|
10
|
+
* SHA from the lexicon's pin table with the version as a YAML comment, which
|
|
11
|
+
* passes GHA021, GHA029 and GHA059.
|
|
12
|
+
*/
|
|
13
|
+
pin?: ActionPinMode;
|
|
7
14
|
defaults?: {
|
|
8
15
|
step?: Partial<ConstructorParameters<typeof Step>[0]>;
|
|
9
16
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setup-node.d.ts","sourceRoot":"","sources":["../../src/composites/setup-node.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"setup-node.d.ts","sourceRoot":"","sources":["../../src/composites/setup-node.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAC1C,OAAO,EAAa,KAAK,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAE/D,MAAM,WAAW,cAAc;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,GAAG,CAAC,EAAE,aAAa,CAAC;IACpB,QAAQ,CAAC,EAAE;QACT,IAAI,CAAC,EAAE,OAAO,CAAC,qBAAqB,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;KACvD,CAAC;CACH;AAED,eAAO,MAAM,SAAS;;EAeP,CAAC"}
|
package/dist/expression.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"expression.d.ts","sourceRoot":"","sources":["../src/expression.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,gBAAgB,EAAE,KAAK,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAE9E;;GAEG;AACH,qBAAa,UAAW,YAAW,SAAS;IAC1C,QAAQ,CAAC,CAAC,gBAAgB,CAAC,
|
|
1
|
+
{"version":3,"file":"expression.d.ts","sourceRoot":"","sources":["../src/expression.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,gBAAgB,EAAE,KAAK,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAE9E;;GAEG;AACH,qBAAa,UAAW,YAAW,SAAS;IAC1C,QAAQ,CAAC,CAAC,gBAAgB,CAAC,OAAiB;IAC5C,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAS;IAE9B,YAAY,GAAG,EAAE,MAAM,EAEtB;IAED,wDAAwD;IACxD,GAAG,IAAI,MAAM,CAEZ;IAED,gDAAgD;IAChD,QAAQ,IAAI,MAAM,CAEjB;IAED,MAAM,IAAI,MAAM,CAEf;IAED,qDAAqD;IACrD,MAAM,IAAI,MAAM,CAEf;IAED,2CAA2C;IAC3C,GAAG,CAAC,KAAK,EAAE,UAAU,GAAG,UAAU,CAEjC;IAED,0CAA0C;IAC1C,EAAE,CAAC,KAAK,EAAE,UAAU,GAAG,UAAU,CAEhC;IAED,sCAAsC;IACtC,GAAG,IAAI,UAAU,CAEhB;IAED,2BAA2B;IAC3B,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,UAAU,GAAG,UAAU,CAGzC;IAED,6BAA6B;IAC7B,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,UAAU,GAAG,UAAU,CAGzC;CACF;AAID,4CAA4C;AA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B,SAAS,IAAI,UAAU,CAEtC;AAID,8CAA8C;AAC9C,wBAAgB,QAAQ,CAAC,QAAQ,EAAE,UAAU,GAAG,MAAM,EAAE,MAAM,EAAE,UAAU,GAAG,MAAM,GAAG,UAAU,CAI/F;AAED,8CAA8C;AAC9C,wBAAgB,UAAU,CAAC,KAAK,EAAE,UAAU,GAAG,MAAM,EAAE,MAAM,EAAE,UAAU,GAAG,MAAM,GAAG,UAAU,CAI9F;AAED,+BAA+B;AAC/B,wBAAgB,MAAM,CAAC,KAAK,EAAE,UAAU,GAAG,UAAU,CAEpD;AAED,2BAA2B;AAC3B,wBAAgB,QAAQ,CAAC,IAAI,EAAE,UAAU,GAAG,MAAM,GAAG,UAAU,CAG9D;AAED,yCAAyC;AACzC,wBAAgB,MAAM,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,UAAU,EAAE,GAAG,UAAU,CAG1E;AAID,8CAA8C;AAC9C,wBAAgB,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,UAAU,CAE/C;AAED,6CAA6C;AAC7C,wBAAgB,GAAG,CAAC,IAAI,EAAE,MAAM,GAAG,UAAU,CAE5C"}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
export declare const Job: new (props: Record<string, unknown>, attributes?: Record<string, unknown>) => import("
|
|
2
|
-
export declare const ReusableWorkflowCallJob: new (props: Record<string, unknown>, attributes?: Record<string, unknown>) => import("
|
|
3
|
-
export declare const Workflow: new (props: Record<string, unknown>, attributes?: Record<string, unknown>) => import("
|
|
4
|
-
export declare const Concurrency: new (props: Record<string, unknown>) => import("
|
|
5
|
-
export declare const Container: new (props: Record<string, unknown>) => import("
|
|
6
|
-
export declare const Defaults: new (props: Record<string, unknown>) => import("
|
|
7
|
-
export declare const Environment: new (props: Record<string, unknown>) => import("
|
|
8
|
-
export declare const Permissions: new (props: Record<string, unknown>) => import("
|
|
9
|
-
export declare const PullRequestTargetTrigger: new (props: Record<string, unknown>) => import("
|
|
10
|
-
export declare const PullRequestTrigger: new (props: Record<string, unknown>) => import("
|
|
11
|
-
export declare const PushTrigger: new (props: Record<string, unknown>) => import("
|
|
12
|
-
export declare const RepositoryDispatchTrigger: new (props: Record<string, unknown>) => import("
|
|
13
|
-
export declare const ScheduleTrigger: new (props: Record<string, unknown>) => import("
|
|
14
|
-
export declare const Service: new (props: Record<string, unknown>) => import("
|
|
15
|
-
export declare const Step: new (props: Record<string, unknown>) => import("
|
|
16
|
-
export declare const Strategy: new (props: Record<string, unknown>) => import("
|
|
17
|
-
export declare const WorkflowCallTrigger: new (props: Record<string, unknown>) => import("
|
|
18
|
-
export declare const WorkflowDispatchTrigger: new (props: Record<string, unknown>) => import("
|
|
19
|
-
export declare const WorkflowInput: new (props: Record<string, unknown>) => import("
|
|
20
|
-
export declare const WorkflowOutput: new (props: Record<string, unknown>) => import("
|
|
21
|
-
export declare const WorkflowRunTrigger: new (props: Record<string, unknown>) => import("
|
|
22
|
-
export declare const WorkflowSecret: new (props: Record<string, unknown>) => import("
|
|
1
|
+
export declare const Job: new (props: Record<string, unknown>, attributes?: Record<string, unknown>) => import("@intentius/chant").Declarable & Record<string, string>;
|
|
2
|
+
export declare const ReusableWorkflowCallJob: new (props: Record<string, unknown>, attributes?: Record<string, unknown>) => import("@intentius/chant").Declarable & Record<string, string>;
|
|
3
|
+
export declare const Workflow: new (props: Record<string, unknown>, attributes?: Record<string, unknown>) => import("@intentius/chant").Declarable & Record<string, string>;
|
|
4
|
+
export declare const Concurrency: new (props: Record<string, unknown>) => import("@intentius/chant").Declarable & Record<string, unknown>;
|
|
5
|
+
export declare const Container: new (props: Record<string, unknown>) => import("@intentius/chant").Declarable & Record<string, unknown>;
|
|
6
|
+
export declare const Defaults: new (props: Record<string, unknown>) => import("@intentius/chant").Declarable & Record<string, unknown>;
|
|
7
|
+
export declare const Environment: new (props: Record<string, unknown>) => import("@intentius/chant").Declarable & Record<string, unknown>;
|
|
8
|
+
export declare const Permissions: new (props: Record<string, unknown>) => import("@intentius/chant").Declarable & Record<string, unknown>;
|
|
9
|
+
export declare const PullRequestTargetTrigger: new (props: Record<string, unknown>) => import("@intentius/chant").Declarable & Record<string, unknown>;
|
|
10
|
+
export declare const PullRequestTrigger: new (props: Record<string, unknown>) => import("@intentius/chant").Declarable & Record<string, unknown>;
|
|
11
|
+
export declare const PushTrigger: new (props: Record<string, unknown>) => import("@intentius/chant").Declarable & Record<string, unknown>;
|
|
12
|
+
export declare const RepositoryDispatchTrigger: new (props: Record<string, unknown>) => import("@intentius/chant").Declarable & Record<string, unknown>;
|
|
13
|
+
export declare const ScheduleTrigger: new (props: Record<string, unknown>) => import("@intentius/chant").Declarable & Record<string, unknown>;
|
|
14
|
+
export declare const Service: new (props: Record<string, unknown>) => import("@intentius/chant").Declarable & Record<string, unknown>;
|
|
15
|
+
export declare const Step: new (props: Record<string, unknown>) => import("@intentius/chant").Declarable & Record<string, unknown>;
|
|
16
|
+
export declare const Strategy: new (props: Record<string, unknown>) => import("@intentius/chant").Declarable & Record<string, unknown>;
|
|
17
|
+
export declare const WorkflowCallTrigger: new (props: Record<string, unknown>) => import("@intentius/chant").Declarable & Record<string, unknown>;
|
|
18
|
+
export declare const WorkflowDispatchTrigger: new (props: Record<string, unknown>) => import("@intentius/chant").Declarable & Record<string, unknown>;
|
|
19
|
+
export declare const WorkflowInput: new (props: Record<string, unknown>) => import("@intentius/chant").Declarable & Record<string, unknown>;
|
|
20
|
+
export declare const WorkflowOutput: new (props: Record<string, unknown>) => import("@intentius/chant").Declarable & Record<string, unknown>;
|
|
21
|
+
export declare const WorkflowRunTrigger: new (props: Record<string, unknown>) => import("@intentius/chant").Declarable & Record<string, unknown>;
|
|
22
|
+
export declare const WorkflowSecret: new (props: Record<string, unknown>) => import("@intentius/chant").Declarable & Record<string, unknown>;
|
|
23
23
|
export { GitHub, Runner } from "../variables.js";
|
|
24
24
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/generated/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,GAAG
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/generated/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,GAAG,8IAAuD,CAAC;AACxE,eAAO,MAAM,uBAAuB,8IAA2E,CAAC;AAChH,eAAO,MAAM,QAAQ,8IAA4D,CAAC;AAElF,eAAO,MAAM,WAAW,yGAA2D,CAAC;AACpF,eAAO,MAAM,SAAS,yGAAyD,CAAC;AAChF,eAAO,MAAM,QAAQ,yGAAwD,CAAC;AAC9E,eAAO,MAAM,WAAW,yGAA2D,CAAC;AACpF,eAAO,MAAM,WAAW,yGAA2D,CAAC;AACpF,eAAO,MAAM,wBAAwB,yGAAwE,CAAC;AAC9G,eAAO,MAAM,kBAAkB,yGAAkE,CAAC;AAClG,eAAO,MAAM,WAAW,yGAA2D,CAAC;AACpF,eAAO,MAAM,yBAAyB,yGAAyE,CAAC;AAChH,eAAO,MAAM,eAAe,yGAA+D,CAAC;AAC5F,eAAO,MAAM,OAAO,yGAAuD,CAAC;AAC5E,eAAO,MAAM,IAAI,yGAAoD,CAAC;AACtE,eAAO,MAAM,QAAQ,yGAAwD,CAAC;AAC9E,eAAO,MAAM,mBAAmB,yGAAmE,CAAC;AACpG,eAAO,MAAM,uBAAuB,yGAAuE,CAAC;AAC5G,eAAO,MAAM,aAAa,yGAA6D,CAAC;AACxF,eAAO,MAAM,cAAc,yGAA8D,CAAC;AAC1F,eAAO,MAAM,kBAAkB,yGAAkE,CAAC;AAClG,eAAO,MAAM,cAAc,yGAA8D,CAAC;AAG1F,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generator.d.ts","sourceRoot":"","sources":["../../src/import/generator.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,mBAAmB,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAC5F,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAiBjE;;GAEG;AACH,qBAAa,sBAAuB,YAAW,mBAAmB;IAChE,QAAQ,CAAC,EAAE,EAAE,UAAU,GAAG,aAAa,EAAE;
|
|
1
|
+
{"version":3,"file":"generator.d.ts","sourceRoot":"","sources":["../../src/import/generator.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,mBAAmB,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAC5F,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAiBjE;;GAEG;AACH,qBAAa,sBAAuB,YAAW,mBAAmB;IAChE,QAAQ,CAAC,EAAE,EAAE,UAAU,GAAG,aAAa,EAAE,CAyBxC;IAED,OAAO,CAAC,yBAAyB;IASjC,OAAO,CAAC,SAAS;IAejB,OAAO,CAAC,SAAS;IAYjB,OAAO,CAAC,WAAW;CA0BpB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parser.d.ts","sourceRoot":"","sources":["../../src/import/parser.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,UAAU,EAAc,MAAM,gCAAgC,CAAC;AAW7F;;GAEG;AACH,qBAAa,mBAAoB,YAAW,cAAc;IACxD,KAAK,CAAC,OAAO,EAAE,MAAM,GAAG,UAAU;
|
|
1
|
+
{"version":3,"file":"parser.d.ts","sourceRoot":"","sources":["../../src/import/parser.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,UAAU,EAAc,MAAM,gCAAgC,CAAC;AAW7F;;GAEG;AACH,qBAAa,mBAAoB,YAAW,cAAc;IACxD,KAAK,CAAC,OAAO,EAAE,MAAM,GAAG,UAAU,CAkDjC;CACF"}
|
package/dist/index.d.ts
CHANGED
|
@@ -3,6 +3,8 @@ export { githubPlugin } from "./plugin.js";
|
|
|
3
3
|
export { Expression, github, runner, secrets, matrix, steps, needs, inputs, vars, env, always, failure, success, cancelled, contains, startsWith, toJSON, fromJSON, format, branch, tag, } from "./expression.js";
|
|
4
4
|
export { GitHub, Runner } from "./variables.js";
|
|
5
5
|
export * from "./generated/index.js";
|
|
6
|
+
export { ACTION_PINS, actionRef, actionPin } from "./action-pins.js";
|
|
7
|
+
export type { ActionPin, ActionPinMode, PinnedAction } from "./action-pins.js";
|
|
6
8
|
export { Checkout, SetupNode, SetupGo, SetupPython, CacheAction, UploadArtifact, DownloadArtifact, NodeCI, NodePipeline, BunPipeline, PnpmPipeline, YarnPipeline, PythonCI, DockerBuild, DeployEnvironment, GoCI, Dependabot, DependabotConfig, PrPlanReport, } from "./composites/index.js";
|
|
7
9
|
export type { CheckoutProps, SetupNodeProps, SetupGoProps, SetupPythonProps, CacheActionProps, UploadArtifactProps, DownloadArtifactProps, NodeCIProps, NodePipelineProps, PythonCIProps, DockerBuildProps, DeployEnvironmentProps, GoCIProps, DependabotProps, DependabotConfigProps, DependabotUpdate, DependabotEcosystem, PrPlanReportProps, } from "./composites/index.js";
|
|
8
10
|
export { fetchWorkflowSchema, fetchSchemas } from "./spec/fetch.js";
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAGhD,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAGxC,OAAO,EACL,UAAU,EACV,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAChE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,EACnC,QAAQ,EAAE,UAAU,EAAE,MAAM,E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;AACjE,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAC1F,YAAY,EAAE,iBAAiB,EAAE,cAAc,EAAE,cAAc,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAGzH,OAAO,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,YAAY,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC"}
|
package/dist/integrity.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"algorithm": "sha256",
|
|
3
3
|
"artifacts": {
|
|
4
|
-
"manifest.json": "
|
|
4
|
+
"manifest.json": "af5fca43b4ee923ef46460ff547e520aff29fa13194fc8d2ca97a4959a46b2e7",
|
|
5
5
|
"meta.json": "c50e0ef3845c370c3ad2210b8bba455980417c0f818aa6ed46e06d4fb8b1b9f9",
|
|
6
6
|
"types/index.d.ts": "bdd54a4145a39a9dd4f7bbc8c500191acb6bc9057a87da0040475afac84db397",
|
|
7
7
|
"rules/deprecated-action-version.ts": "d41e6e532ab7f623af1bee4ac5279fcb2baada7defa1c5d022a5bc71983e8797",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"rules/gha017.ts": "ec62dac7f9d69f36978cb461c4ba391a7e445d410bbfa497cddcb1b12cfd5904",
|
|
25
25
|
"rules/gha018.ts": "2c71c5accb96bccfa01075e7f8f4ad66e6d9a68a81b86f89a68cabb9c144e140",
|
|
26
26
|
"rules/gha019.ts": "d0b33d63812c9cba2ebf9f2d85d8cf22068ea96460cd2143bdfb4d2a4d58fe2e",
|
|
27
|
-
"rules/gha021.ts": "
|
|
27
|
+
"rules/gha021.ts": "7b85ccda759b371fde712fe7883f39068e65afef399b6929093f07ddaeeb718b",
|
|
28
28
|
"rules/gha022.ts": "7bfb5e280ace280f06b8b64645863210320cd38380a2fc7b95a3455753a50f9c",
|
|
29
29
|
"rules/gha023.ts": "708468e098e434739bd62573d8559318c08a2830aa8ac39d2bf465e7da012b38",
|
|
30
30
|
"rules/gha024.ts": "4500e91debb6e9ca23f247d6a8c3f0f7c74785ff852db130143590328353ab4d",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"rules/gha026.ts": "1c0278cb453dad28f417fd11fd30d83402a64ccb809f366a5b46ffceb3466da6",
|
|
33
33
|
"rules/gha027.ts": "5a266987c65dc92ca77c1d4c9b8fa29d6435275d399819dec5027be3f2d96239",
|
|
34
34
|
"rules/gha028.ts": "5d1f06b635354b67557f0dbdc2f11ca4c5b8e8541b85b1c135b6f02ef147d9a0",
|
|
35
|
-
"rules/gha029.ts": "
|
|
35
|
+
"rules/gha029.ts": "c3db57c4f088a725797de74b9b2b03b8dfb4ab6edf763e59f49eca4085a1d052",
|
|
36
36
|
"rules/gha030.ts": "310fd8e8acc7ea6ceba4dfb8fb133080cf91fd5fc90f7f1d9dfb11527a7ed0ca",
|
|
37
37
|
"rules/gha031.ts": "a5c702ab22b7031eddb21406bc4e92ada4a835a27a7469b2e0db2b1c0965a9b1",
|
|
38
38
|
"rules/gha032.ts": "ee2c9da89457765671cab774ecd9de2202dbf8a6832e83f2d1678ea091596ca8",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"rules/gha056.ts": "73fa2eea80504522cb53db1e48b36e97ede0eeb7b60ed531a476d2f43d3746ae",
|
|
63
63
|
"rules/gha057.ts": "78e896232d6f5c3e4c1bab873eae97960dbb8a0c108f1546f32d943aafc41a91",
|
|
64
64
|
"rules/gha058.ts": "cdcb60916e3ce091b0e6c73295f24b77fca1480fb0a5907ae6d1fc5b1805f794",
|
|
65
|
-
"rules/gha059.ts": "
|
|
65
|
+
"rules/gha059.ts": "ad459b0dde36edd59990c5ca17b71dca6720a9bdb6928d7f202c8405ec636fb5",
|
|
66
66
|
"rules/gha060.ts": "8049e27b6aa0ab3fa71db8f400bb7bdfe9eab3bc9a69c6f917266cae606718a8",
|
|
67
67
|
"rules/gha061.ts": "6e4da64dce2f26cd3ffece0a79c99d15bb9e7cb0504979db018e73c39074fe9a",
|
|
68
68
|
"rules/gha062.ts": "7cfcdc7728db31b52c0d150f091f0cfae127729975fad156dc93049adb99265a",
|
|
@@ -72,10 +72,11 @@
|
|
|
72
72
|
"rules/gha066.ts": "89b2c0aa127b1d5d6054fc118390662af2ec4e8d3552afe0ea1e75533cc178c0",
|
|
73
73
|
"rules/gha067.ts": "6a9ad2208759f8e7146a8af35227a9362d6aa6b16ee7bb9f7167d3d567524099",
|
|
74
74
|
"rules/gha068.ts": "e23210bc762641de044380677016afb601721a133322544733fd058bb84930ad",
|
|
75
|
-
"rules/
|
|
75
|
+
"rules/gha069.ts": "2f33371edcb755f173d1eb33e1b074be0c350a9069db1d5bfa769c7a26817e72",
|
|
76
|
+
"rules/yaml-helpers.ts": "a1d987d733dd83f58c5cd23003955be96a2ab54986d71b89b7246577c651ddc4",
|
|
76
77
|
"skills/chant-github.md": "f3707f09634be4bbb45a6be279f17bb27f275b98e6d3337cc8872c1623ba050f",
|
|
77
78
|
"skills/chant-github-patterns.md": "bb3abef289a8fdfcf07d6bb2d7289dcb2f38bc0cb0321ea320b78b45a6f548c0",
|
|
78
79
|
"skills/chant-github-security.md": "aab111cb0871cad30281ce48d7da23663689619351029219e2be019a1a61e394"
|
|
79
80
|
},
|
|
80
|
-
"composite": "
|
|
81
|
+
"composite": "ff2b16c4ec914d11db2811ef9a6e9f8f2663b51ae38c94022bc47c581ea36b80"
|
|
81
82
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"audit-catalog.d.ts","sourceRoot":"","sources":["../../src/lint/audit-catalog.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAA4H,KAAK,QAAQ,EAAgB,MAAM,gCAAgC,CAAC;AAGvM,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"audit-catalog.d.ts","sourceRoot":"","sources":["../../src/lint/audit-catalog.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAA4H,KAAK,QAAQ,EAAgB,MAAM,gCAAgC,CAAC;AAGvM,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CA8DvD,CAAC"}
|
|
@@ -4,6 +4,19 @@
|
|
|
4
4
|
* the registry, the relation vocabulary, and why this is credit rather than
|
|
5
5
|
* authority. Kept by hand; the prior-art sweep (scripts/prior-art-sweep.ts) reports
|
|
6
6
|
* when a credited tool's index no longer lists a rule cited here.
|
|
7
|
+
*
|
|
8
|
+
* GHA069 (a job-level permissions block drops the workflow's `id-token:
|
|
9
|
+
* write`, #2273) has no entry here. Checked 2026-10-02: zizmor's 41 audits
|
|
10
|
+
* (docs.zizmor.sh/audits) cover over-broad scopes (`excessive-permissions`)
|
|
11
|
+
* and undocumented ones (`undocumented-permissions`), not a scope a job
|
|
12
|
+
* block silently loses. actionlint's `permissions` check
|
|
13
|
+
* (github.com/rhysd/actionlint/blob/main/docs/checks.md#permissions)
|
|
14
|
+
* validates scope names and levels only. poutine's rules (opa/rego/rules)
|
|
15
|
+
* have `default_permissions_on_risky_events`, the GHA013 condition, and
|
|
16
|
+
* nothing about a dropped grant. octoscan's `debug-oidc-action` flags OIDC
|
|
17
|
+
* action use as a debug finding and does not read the permission blocks.
|
|
18
|
+
* Scorecard's Token-Permissions rewards narrower blocks, the opposite
|
|
19
|
+
* concern. Ship with no lineage rather than invent a credit.
|
|
7
20
|
*/
|
|
8
21
|
import type { Lineage } from "@intentius/chant/audit/catalog";
|
|
9
22
|
export declare const githubAuditLineage: Record<string, Lineage[]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"audit-lineage.d.ts","sourceRoot":"","sources":["../../src/lint/audit-lineage.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"audit-lineage.d.ts","sourceRoot":"","sources":["../../src/lint/audit-lineage.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AAE9D,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,EAAE,CAuKxD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gha021.d.ts","sourceRoot":"","sources":["../../../src/lint/post-synth/gha021.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAyC,MAAM,kCAAkC,CAAC;
|
|
1
|
+
{"version":3,"file":"gha021.d.ts","sourceRoot":"","sources":["../../../src/lint/post-synth/gha021.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAyC,MAAM,kCAAkC,CAAC;AAI9G,eAAO,MAAM,MAAM,EAAE,cAoCpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gha029.d.ts","sourceRoot":"","sources":["../../../src/lint/post-synth/gha029.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAyC,MAAM,kCAAkC,CAAC;
|
|
1
|
+
{"version":3,"file":"gha029.d.ts","sourceRoot":"","sources":["../../../src/lint/post-synth/gha029.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAyC,MAAM,kCAAkC,CAAC;AAO9G,MAAM,WAAW,WAAW;IAC1B,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,MAAM,EACZ,aAAa,GAAE,WAAW,CAAC,MAAM,CAAyB,GACzD,WAAW,EAAE,CAWf;AAED,eAAO,MAAM,MAAM,EAAE,cAsBpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gha059.d.ts","sourceRoot":"","sources":["../../../src/lint/post-synth/gha059.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAyC,MAAM,kCAAkC,CAAC;AAK9G,MAAM,WAAW,eAAe;IAC9B,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,SAAS,GAAG,YAAY,CAAC;IAC/B,qEAAqE;IACrE,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;;;;GAKG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,MAAM,GAAG,eAAe,EAAE,
|
|
1
|
+
{"version":3,"file":"gha059.d.ts","sourceRoot":"","sources":["../../../src/lint/post-synth/gha059.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAyC,MAAM,kCAAkC,CAAC;AAK9G,MAAM,WAAW,eAAe;IAC9B,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,SAAS,GAAG,YAAY,CAAC;IAC/B,qEAAqE;IACrE,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;;;;GAKG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,MAAM,GAAG,eAAe,EAAE,CAoEvE;AAED,eAAO,MAAM,MAAM,EAAE,cA0BpB,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GHA069: Job-Level Permissions Block Drops the Workflow's `id-token: write`
|
|
3
|
+
*
|
|
4
|
+
* A job-level `permissions:` block replaces the workflow-level one; GitHub
|
|
5
|
+
* does not merge the two. A workflow that grants `id-token: write` at the top
|
|
6
|
+
* and then gives a job its own block without that scope leaves the job with
|
|
7
|
+
* no OIDC token, and the job's cloud-credential action fails with an error
|
|
8
|
+
* that names neither the scope nor the job block (#2273).
|
|
9
|
+
*
|
|
10
|
+
* Fires when all three hold:
|
|
11
|
+
* - the workflow-level block grants `id-token: write` (directly, or through
|
|
12
|
+
* `write-all`);
|
|
13
|
+
* - a job declares its own block that does not (a map without
|
|
14
|
+
* `id-token: write`, `{}`, `read-all`, or any other preset but `write-all`);
|
|
15
|
+
* - that job has a step using a known OIDC credential action, matched on the
|
|
16
|
+
* action path whatever the ref (tag, major or full SHA), with no static
|
|
17
|
+
* credential input that would make the step skip OIDC.
|
|
18
|
+
*
|
|
19
|
+
* Only `id-token` is checked. The reasoning for not generalising to every
|
|
20
|
+
* scope a job block narrows is recorded on #2273.
|
|
21
|
+
*/
|
|
22
|
+
import type { PostSynthCheck } from "@intentius/chant/lint/post-synth";
|
|
23
|
+
import { type PermissionsValue } from "./yaml-helpers.js";
|
|
24
|
+
/**
|
|
25
|
+
* Actions that exchange the job's OIDC token for cloud credentials, keyed by
|
|
26
|
+
* lowercased `owner/repo`, each with the inputs that select a static
|
|
27
|
+
* credential instead (when one is set, the step does not need `id-token`).
|
|
28
|
+
*/
|
|
29
|
+
export declare const OIDC_CREDENTIAL_ACTIONS: ReadonlyMap<string, readonly string[]>;
|
|
30
|
+
/** True when the permissions value grants `id-token: write`. */
|
|
31
|
+
export declare function grantsIdTokenWrite(perms: PermissionsValue): boolean;
|
|
32
|
+
export declare const gha069: PostSynthCheck;
|
|
33
|
+
//# sourceMappingURL=gha069.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gha069.d.ts","sourceRoot":"","sources":["../../../src/lint/post-synth/gha069.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAyC,MAAM,kCAAkC,CAAC;AAC9G,OAAO,EAML,KAAK,gBAAgB,EACtB,MAAM,gBAAgB,CAAC;AAExB;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,EAAE,WAAW,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAIzE,CAAC;AAEH,gEAAgE;AAChE,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,gBAAgB,GAAG,OAAO,CAGnE;AAuBD,eAAO,MAAM,MAAM,EAAE,cAwCpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lint/post-synth/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lint/post-synth/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AA0DvE,eAAO,MAAM,eAAe,EAAE,cAAc,EAyD3C,CAAC"}
|
|
@@ -22,6 +22,16 @@ export interface ParsedJob {
|
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
24
|
* Extract jobs from a serialized GitHub Actions workflow YAML.
|
|
25
|
+
*
|
|
26
|
+
* Built on the structural parser ({@link jobEntries}), so every step of every
|
|
27
|
+
* job is read whatever key the step starts with, and `needs:` is read in all
|
|
28
|
+
* three forms (a scalar, a flow list, a block list). The line-based version
|
|
29
|
+
* this replaced stopped after the first line of a job's first step, so a step
|
|
30
|
+
* that starts with `name:` (the shape chant's serializer emits) had no `uses:`
|
|
31
|
+
* or `run:` and later steps were never seen (#3201).
|
|
32
|
+
*
|
|
33
|
+
* `run` is the whole script, block scalars included. `permissions` is not
|
|
34
|
+
* filled here; use {@link extractJobPermissions}.
|
|
25
35
|
*/
|
|
26
36
|
export declare function extractJobs(yaml: string): Map<string, ParsedJob>;
|
|
27
37
|
/**
|
|
@@ -154,6 +164,16 @@ export declare function stripUsesComment(uses: string): string;
|
|
|
154
164
|
* one, since both mean "no annotation" to a reviewer. See GHA059.
|
|
155
165
|
*/
|
|
156
166
|
export declare function extractUsesComment(rawUses: string): string | undefined;
|
|
167
|
+
/**
|
|
168
|
+
* Every `uses:` line in the workflow text, in document order, with its
|
|
169
|
+
* trailing comment. The parsed document has no comments (core's parseYAML
|
|
170
|
+
* drops them, #3006), so a check that reads the pin label (GHA059) takes it
|
|
171
|
+
* from here.
|
|
172
|
+
*/
|
|
173
|
+
export declare function usesLineComments(yaml: string): Array<{
|
|
174
|
+
ref: string;
|
|
175
|
+
comment: string | undefined;
|
|
176
|
+
}>;
|
|
157
177
|
export declare function parseActionUses(rawUses: string): {
|
|
158
178
|
owner: string;
|
|
159
179
|
repo: string;
|