@intentius/chant-lexicon-github 0.1.11 → 0.1.13
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/integrity.json +4 -4
- package/dist/manifest.json +1 -1
- package/dist/meta.json +10 -1
- package/dist/types/index.d.ts +6 -4
- package/package.json +3 -3
- package/src/generated/index.d.ts +6 -4
- package/src/generated/lexicon-github.json +10 -1
package/dist/integrity.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"algorithm": "sha256",
|
|
3
3
|
"artifacts": {
|
|
4
|
-
"manifest.json": "
|
|
5
|
-
"meta.json": "
|
|
6
|
-
"types/index.d.ts": "
|
|
4
|
+
"manifest.json": "b32e03fe200a803ebee8774cb06801a13d52ffb2785fb272ed597e1f43eba6e1",
|
|
5
|
+
"meta.json": "798c5f5f37b0174756d2451299acfdc95c014f11d06d32b9153bbdfa9f3a580c",
|
|
6
|
+
"types/index.d.ts": "fd1f8388448a8ad7744d9190382984eaae127de7f58ce8c92204b759a00fe316",
|
|
7
7
|
"rules/deprecated-action-version.ts": "d41e6e532ab7f623af1bee4ac5279fcb2baada7defa1c5d022a5bc71983e8797",
|
|
8
8
|
"rules/detect-secrets.ts": "5829832eb7b43993424971041ed386b196850183bffd34bddd6439f99061e4ae",
|
|
9
9
|
"rules/extract-inline-structs.ts": "8f8147c200de8ffd0620dfdcca2e2cea76a520303ce431479ebecad6aa26aab5",
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"skills/chant-github-patterns.md": "bb3abef289a8fdfcf07d6bb2d7289dcb2f38bc0cb0321ea320b78b45a6f548c0",
|
|
38
38
|
"skills/chant-github-security.md": "aab111cb0871cad30281ce48d7da23663689619351029219e2be019a1a61e394"
|
|
39
39
|
},
|
|
40
|
-
"composite": "
|
|
40
|
+
"composite": "121c51529bd0dc7f0f807998729b1ed6a397fc033fa7bf12c4880cab34b01b63"
|
|
41
41
|
}
|
package/dist/manifest.json
CHANGED
package/dist/meta.json
CHANGED
|
@@ -2,7 +2,16 @@
|
|
|
2
2
|
"Concurrency": {
|
|
3
3
|
"resourceType": "GitHub::Actions::Concurrency",
|
|
4
4
|
"kind": "property",
|
|
5
|
-
"lexicon": "github"
|
|
5
|
+
"lexicon": "github",
|
|
6
|
+
"constraints": {
|
|
7
|
+
"queue": {
|
|
8
|
+
"default": "single",
|
|
9
|
+
"enum": [
|
|
10
|
+
"single",
|
|
11
|
+
"max"
|
|
12
|
+
]
|
|
13
|
+
}
|
|
14
|
+
}
|
|
6
15
|
},
|
|
7
16
|
"Container": {
|
|
8
17
|
"resourceType": "GitHub::Actions::Container",
|
package/dist/types/index.d.ts
CHANGED
|
@@ -4,10 +4,12 @@
|
|
|
4
4
|
|
|
5
5
|
export declare class Concurrency {
|
|
6
6
|
constructor(props: {
|
|
7
|
-
/** When a concurrent job or workflow is queued, if another job or workflow using the same concurrency group in the repository is in progress, the queued job or workflow will be pending.
|
|
7
|
+
/** When a concurrent job or workflow is queued, if another job or workflow using the same concurrency group in the repository is in progress, the queued job or workflow will be pending. By default any previously pending job or workflow in the concurrency group will be canceled; this behavior can be changed with `queue`. */
|
|
8
8
|
group: string;
|
|
9
9
|
/** To cancel any currently running job or workflow in the same concurrency group, specify cancel-in-progress: true. */
|
|
10
10
|
"cancel-in-progress"?: boolean | string;
|
|
11
|
+
/** Controls how pending jobs or workflow runs are queued within a concurrency group. With the default `single`, at most one run can be pending — additional pending runs cancel the previous one. With `max`, up to 100 runs can be pending and are processed in FIFO order. The combination of `queue: max` and `cancel-in-progress: true` is not allowed. */
|
|
12
|
+
queue?: "single" | "max";
|
|
11
13
|
});
|
|
12
14
|
}
|
|
13
15
|
|
|
@@ -51,7 +53,7 @@ export declare class Job {
|
|
|
51
53
|
"runs-on": string | string[];
|
|
52
54
|
/** Concurrency ensures that only a single job or workflow using the same concurrency group will run at a time. A concurrency group can be any string or expression. The expression can use any context except for the secrets context.
|
|
53
55
|
You can also specify concurrency at the workflow level.
|
|
54
|
-
When a concurrent job or workflow is queued, if another job or workflow using the same concurrency group in the repository is in progress, the queued job or workflow will be pending.
|
|
56
|
+
When a concurrent job or workflow is queued, if another job or workflow using the same concurrency group in the repository is in progress, the queued job or workflow will be pending. By default any previously pending job or workflow in the concurrency group will be canceled; this behavior can be changed with `queue`. To also cancel any currently running job or workflow in the same concurrency group, specify cancel-in-progress: true. */
|
|
55
57
|
concurrency?: Concurrency | string;
|
|
56
58
|
/** A container to run any steps in a job that don't already specify a container. If you have steps that use both script and container actions, the container actions will run as sibling containers on the same network with the same volume mounts.
|
|
57
59
|
If you do not set a container, all steps will run directly on the host specified by runs-on unless a step refers to an action configured to run in a container. */
|
|
@@ -154,7 +156,7 @@ export declare class ReusableWorkflowCallJob {
|
|
|
154
156
|
uses: string;
|
|
155
157
|
/** Concurrency ensures that only a single job or workflow using the same concurrency group will run at a time. A concurrency group can be any string or expression. The expression can use any context except for the secrets context.
|
|
156
158
|
You can also specify concurrency at the workflow level.
|
|
157
|
-
When a concurrent job or workflow is queued, if another job or workflow using the same concurrency group in the repository is in progress, the queued job or workflow will be pending.
|
|
159
|
+
When a concurrent job or workflow is queued, if another job or workflow using the same concurrency group in the repository is in progress, the queued job or workflow will be pending. By default any previously pending job or workflow in the concurrency group will be canceled; this behavior can be changed with `queue`. To also cancel any currently running job or workflow in the same concurrency group, specify cancel-in-progress: true. */
|
|
158
160
|
concurrency?: string | Record<string, any>;
|
|
159
161
|
/** You can use the if conditional to prevent a job from running unless a condition is met. You can use any supported context and expression to create a conditional.
|
|
160
162
|
Expressions in an if conditional do not require the ${{ }} syntax. For more information, see https://help.github.com/en/articles/contexts-and-expression-syntax-for-github-actions. */
|
|
@@ -238,7 +240,7 @@ You can run an unlimited number of jobs as long as you are within the workflow u
|
|
|
238
240
|
on: Record<string, unknown>;
|
|
239
241
|
/** Concurrency ensures that only a single job or workflow using the same concurrency group will run at a time. A concurrency group can be any string or expression. The expression can use any context except for the secrets context.
|
|
240
242
|
You can also specify concurrency at the workflow level.
|
|
241
|
-
When a concurrent job or workflow is queued, if another job or workflow using the same concurrency group in the repository is in progress, the queued job or workflow will be pending.
|
|
243
|
+
When a concurrent job or workflow is queued, if another job or workflow using the same concurrency group in the repository is in progress, the queued job or workflow will be pending. By default any previously pending job or workflow in the concurrency group will be canceled; this behavior can be changed with `queue`. To also cancel any currently running job or workflow in the same concurrency group, specify cancel-in-progress: true. */
|
|
242
244
|
concurrency?: Concurrency | string;
|
|
243
245
|
/** A map of default settings that will apply to all jobs in the workflow. */
|
|
244
246
|
defaults?: Defaults;
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intentius/chant-lexicon-github",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.13",
|
|
4
4
|
"description": "GitHub Actions lexicon for chant — declarative IaC in TypeScript",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://intentius.io/chant",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
|
-
"url": "https://github.com/
|
|
9
|
+
"url": "https://github.com/INTENTIUS/chant.git",
|
|
10
10
|
"directory": "lexicons/github"
|
|
11
11
|
},
|
|
12
12
|
"bugs": {
|
|
13
|
-
"url": "https://github.com/
|
|
13
|
+
"url": "https://github.com/INTENTIUS/chant/issues"
|
|
14
14
|
},
|
|
15
15
|
"keywords": [
|
|
16
16
|
"infrastructure-as-code",
|
package/src/generated/index.d.ts
CHANGED
|
@@ -4,10 +4,12 @@
|
|
|
4
4
|
|
|
5
5
|
export declare class Concurrency {
|
|
6
6
|
constructor(props: {
|
|
7
|
-
/** When a concurrent job or workflow is queued, if another job or workflow using the same concurrency group in the repository is in progress, the queued job or workflow will be pending.
|
|
7
|
+
/** When a concurrent job or workflow is queued, if another job or workflow using the same concurrency group in the repository is in progress, the queued job or workflow will be pending. By default any previously pending job or workflow in the concurrency group will be canceled; this behavior can be changed with `queue`. */
|
|
8
8
|
group: string;
|
|
9
9
|
/** To cancel any currently running job or workflow in the same concurrency group, specify cancel-in-progress: true. */
|
|
10
10
|
"cancel-in-progress"?: boolean | string;
|
|
11
|
+
/** Controls how pending jobs or workflow runs are queued within a concurrency group. With the default `single`, at most one run can be pending — additional pending runs cancel the previous one. With `max`, up to 100 runs can be pending and are processed in FIFO order. The combination of `queue: max` and `cancel-in-progress: true` is not allowed. */
|
|
12
|
+
queue?: "single" | "max";
|
|
11
13
|
});
|
|
12
14
|
}
|
|
13
15
|
|
|
@@ -51,7 +53,7 @@ export declare class Job {
|
|
|
51
53
|
"runs-on": string | string[];
|
|
52
54
|
/** Concurrency ensures that only a single job or workflow using the same concurrency group will run at a time. A concurrency group can be any string or expression. The expression can use any context except for the secrets context.
|
|
53
55
|
You can also specify concurrency at the workflow level.
|
|
54
|
-
When a concurrent job or workflow is queued, if another job or workflow using the same concurrency group in the repository is in progress, the queued job or workflow will be pending.
|
|
56
|
+
When a concurrent job or workflow is queued, if another job or workflow using the same concurrency group in the repository is in progress, the queued job or workflow will be pending. By default any previously pending job or workflow in the concurrency group will be canceled; this behavior can be changed with `queue`. To also cancel any currently running job or workflow in the same concurrency group, specify cancel-in-progress: true. */
|
|
55
57
|
concurrency?: Concurrency | string;
|
|
56
58
|
/** A container to run any steps in a job that don't already specify a container. If you have steps that use both script and container actions, the container actions will run as sibling containers on the same network with the same volume mounts.
|
|
57
59
|
If you do not set a container, all steps will run directly on the host specified by runs-on unless a step refers to an action configured to run in a container. */
|
|
@@ -154,7 +156,7 @@ export declare class ReusableWorkflowCallJob {
|
|
|
154
156
|
uses: string;
|
|
155
157
|
/** Concurrency ensures that only a single job or workflow using the same concurrency group will run at a time. A concurrency group can be any string or expression. The expression can use any context except for the secrets context.
|
|
156
158
|
You can also specify concurrency at the workflow level.
|
|
157
|
-
When a concurrent job or workflow is queued, if another job or workflow using the same concurrency group in the repository is in progress, the queued job or workflow will be pending.
|
|
159
|
+
When a concurrent job or workflow is queued, if another job or workflow using the same concurrency group in the repository is in progress, the queued job or workflow will be pending. By default any previously pending job or workflow in the concurrency group will be canceled; this behavior can be changed with `queue`. To also cancel any currently running job or workflow in the same concurrency group, specify cancel-in-progress: true. */
|
|
158
160
|
concurrency?: string | Record<string, any>;
|
|
159
161
|
/** You can use the if conditional to prevent a job from running unless a condition is met. You can use any supported context and expression to create a conditional.
|
|
160
162
|
Expressions in an if conditional do not require the ${{ }} syntax. For more information, see https://help.github.com/en/articles/contexts-and-expression-syntax-for-github-actions. */
|
|
@@ -238,7 +240,7 @@ You can run an unlimited number of jobs as long as you are within the workflow u
|
|
|
238
240
|
on: Record<string, unknown>;
|
|
239
241
|
/** Concurrency ensures that only a single job or workflow using the same concurrency group will run at a time. A concurrency group can be any string or expression. The expression can use any context except for the secrets context.
|
|
240
242
|
You can also specify concurrency at the workflow level.
|
|
241
|
-
When a concurrent job or workflow is queued, if another job or workflow using the same concurrency group in the repository is in progress, the queued job or workflow will be pending.
|
|
243
|
+
When a concurrent job or workflow is queued, if another job or workflow using the same concurrency group in the repository is in progress, the queued job or workflow will be pending. By default any previously pending job or workflow in the concurrency group will be canceled; this behavior can be changed with `queue`. To also cancel any currently running job or workflow in the same concurrency group, specify cancel-in-progress: true. */
|
|
242
244
|
concurrency?: Concurrency | string;
|
|
243
245
|
/** A map of default settings that will apply to all jobs in the workflow. */
|
|
244
246
|
defaults?: Defaults;
|
|
@@ -2,7 +2,16 @@
|
|
|
2
2
|
"Concurrency": {
|
|
3
3
|
"resourceType": "GitHub::Actions::Concurrency",
|
|
4
4
|
"kind": "property",
|
|
5
|
-
"lexicon": "github"
|
|
5
|
+
"lexicon": "github",
|
|
6
|
+
"constraints": {
|
|
7
|
+
"queue": {
|
|
8
|
+
"default": "single",
|
|
9
|
+
"enum": [
|
|
10
|
+
"single",
|
|
11
|
+
"max"
|
|
12
|
+
]
|
|
13
|
+
}
|
|
14
|
+
}
|
|
6
15
|
},
|
|
7
16
|
"Container": {
|
|
8
17
|
"resourceType": "GitHub::Actions::Container",
|