@intentius/chant-lexicon-github 0.68.1 → 0.69.1
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 +3 -3
- package/dist/manifest.json +1 -1
- package/dist/okf/types/Job.md +1 -0
- package/dist/okf/types/ReusableWorkflowCallJob.md +1 -0
- package/dist/okf/types/Workflow.md +1 -0
- package/dist/types/index.d.ts +3 -0
- package/package.json +2 -2
- package/src/generated/index.d.ts +3 -0
package/dist/integrity.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"algorithm": "sha256",
|
|
3
3
|
"artifacts": {
|
|
4
|
-
"manifest.json": "
|
|
4
|
+
"manifest.json": "08600c2f47ce0a8d56f4c0a33d53f7665ecac0fc63f1c195ef9fd785308db8d9",
|
|
5
5
|
"meta.json": "dc3977afc2b6ddc4904de906d1b1e448b786b2aced9d82f8eade2ff915203344",
|
|
6
|
-
"types/index.d.ts": "
|
|
6
|
+
"types/index.d.ts": "cf377ada3bf45c3b6683e0b4297c3e8ddc64faa9f894c4362181636a6061e8cf",
|
|
7
7
|
"rules/deprecated-action-version.ts": "d41e6e532ab7f623af1bee4ac5279fcb2baada7defa1c5d022a5bc71983e8797",
|
|
8
8
|
"rules/detect-secrets.ts": "5829832eb7b43993424971041ed386b196850183bffd34bddd6439f99061e4ae",
|
|
9
9
|
"rules/extract-inline-structs.ts": "8f8147c200de8ffd0620dfdcca2e2cea76a520303ce431479ebecad6aa26aab5",
|
|
@@ -77,5 +77,5 @@
|
|
|
77
77
|
"skills/chant-github-patterns.md": "bb3abef289a8fdfcf07d6bb2d7289dcb2f38bc0cb0321ea320b78b45a6f548c0",
|
|
78
78
|
"skills/chant-github-security.md": "aab111cb0871cad30281ce48d7da23663689619351029219e2be019a1a61e394"
|
|
79
79
|
},
|
|
80
|
-
"composite": "
|
|
80
|
+
"composite": "e82e195fe66cc7492f4d62efacc307b4c9b4e72a4cd496433230f1d903156a5b"
|
|
81
81
|
}
|
package/dist/manifest.json
CHANGED
package/dist/okf/types/Job.md
CHANGED
|
@@ -11,6 +11,7 @@ resource_type: GitHub::Actions::Job
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
13
13
|
- `runs-on` (`string | string[]`, required): The type of machine to run the job on. The machine can be either a GitHub-hosted runner, or a self-hosted runner.
|
|
14
|
+
- `cache-mode` (`"read" | "write" | "write-only" | "none"`, optional)
|
|
14
15
|
- `concurrency` (`Concurrency | string`, optional): 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. You can also specify concurrency at the workflow level. 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.
|
|
15
16
|
- `container` (`Container | string`, optional): 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. 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.
|
|
16
17
|
- `continue-on-error` (`boolean`, optional): Prevents a workflow run from failing when a job fails. Set to true to allow a workflow run to pass when this job fails.
|
|
@@ -11,6 +11,7 @@ resource_type: GitHub::Actions::ReusableWorkflowCallJob
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
13
13
|
- `uses` (`string`, required): The location and version of a reusable workflow file to run as a job, of the form './{path/to}/{localfile}.yml' or '{owner}/{repo}/{path}/{filename}@{ref}'. {ref} can be a SHA, a release tag, or a branch name. Using the commit SHA is the safest for stability and security.
|
|
14
|
+
- `cache-mode` (`"read" | "write" | "write-only" | "none"`, optional)
|
|
14
15
|
- `concurrency` (`string | Record<string, any>`, optional): 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. You can also specify concurrency at the workflow level. 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.
|
|
15
16
|
- `if` (`boolean | number | string`, optional): 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. 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.
|
|
16
17
|
- `name` (`string`, optional): The name of the job displayed on GitHub.
|
|
@@ -12,6 +12,7 @@ resource_type: GitHub::Actions::Workflow
|
|
|
12
12
|
|
|
13
13
|
- `jobs` (`Record<string, unknown>`, required): A workflow run is made up of one or more jobs. Jobs run in parallel by default. To run jobs sequentially, you can define dependencies on other jobs using the jobs.<job_id>.needs keyword. Each job runs in a fresh instance of the virtual environment specified by runs-on. You can run an unlimited number of jobs as long as you are within the workflow usage limits. For more information, see https://help.github.com/en/github/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#usage-limits.
|
|
14
14
|
- `on` (`Record<string, unknown>`, required): The name of the GitHub event that triggers the workflow. You can provide a single event string, array of events, array of event types, or an event configuration map that schedules a workflow or restricts the execution of a workflow to specific files, tags, or branch changes. For a list of available events, see https://help.github.com/en/github/automating-your-workflow-with-github-actions/events-that-trigger-workflows.
|
|
15
|
+
- `cache-mode` (`"read" | "write" | "write-only" | "none"`, optional)
|
|
15
16
|
- `concurrency` (`Concurrency | string`, optional): 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. You can also specify concurrency at the workflow level. 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.
|
|
16
17
|
- `defaults` (`Defaults`, optional): A map of default settings that will apply to all jobs in the workflow.
|
|
17
18
|
- `env` (`Record<string, string>`, optional): A map of environment variables that are available to all jobs and steps in the workflow.
|
package/dist/types/index.d.ts
CHANGED
|
@@ -51,6 +51,7 @@ export declare class Job {
|
|
|
51
51
|
constructor(props: {
|
|
52
52
|
/** The type of machine to run the job on. The machine can be either a GitHub-hosted runner, or a self-hosted runner. */
|
|
53
53
|
"runs-on": string | string[];
|
|
54
|
+
"cache-mode"?: "read" | "write" | "write-only" | "none";
|
|
54
55
|
/** 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.
|
|
55
56
|
You can also specify concurrency at the workflow level.
|
|
56
57
|
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. */
|
|
@@ -157,6 +158,7 @@ export declare class ReusableWorkflowCallJob {
|
|
|
157
158
|
constructor(props: {
|
|
158
159
|
/** The location and version of a reusable workflow file to run as a job, of the form './{path/to}/{localfile}.yml' or '{owner}/{repo}/{path}/{filename}@{ref}'. {ref} can be a SHA, a release tag, or a branch name. Using the commit SHA is the safest for stability and security. */
|
|
159
160
|
uses: string;
|
|
161
|
+
"cache-mode"?: "read" | "write" | "write-only" | "none";
|
|
160
162
|
/** 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.
|
|
161
163
|
You can also specify concurrency at the workflow level.
|
|
162
164
|
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. */
|
|
@@ -241,6 +243,7 @@ You can run an unlimited number of jobs as long as you are within the workflow u
|
|
|
241
243
|
jobs: Record<string, unknown>;
|
|
242
244
|
/** The name of the GitHub event that triggers the workflow. You can provide a single event string, array of events, array of event types, or an event configuration map that schedules a workflow or restricts the execution of a workflow to specific files, tags, or branch changes. For a list of available events, see https://help.github.com/en/github/automating-your-workflow-with-github-actions/events-that-trigger-workflows. */
|
|
243
245
|
on: Record<string, unknown>;
|
|
246
|
+
"cache-mode"?: "read" | "write" | "write-only" | "none";
|
|
244
247
|
/** 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.
|
|
245
248
|
You can also specify concurrency at the workflow level.
|
|
246
249
|
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. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intentius/chant-lexicon-github",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.69.1",
|
|
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",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"typescript": "^5.9.3"
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
|
-
"@intentius/chant": "^0.
|
|
64
|
+
"@intentius/chant": "^0.69.1",
|
|
65
65
|
"typescript": "^5.9.3"
|
|
66
66
|
}
|
|
67
67
|
}
|
package/src/generated/index.d.ts
CHANGED
|
@@ -51,6 +51,7 @@ export declare class Job {
|
|
|
51
51
|
constructor(props: {
|
|
52
52
|
/** The type of machine to run the job on. The machine can be either a GitHub-hosted runner, or a self-hosted runner. */
|
|
53
53
|
"runs-on": string | string[];
|
|
54
|
+
"cache-mode"?: "read" | "write" | "write-only" | "none";
|
|
54
55
|
/** 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.
|
|
55
56
|
You can also specify concurrency at the workflow level.
|
|
56
57
|
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. */
|
|
@@ -157,6 +158,7 @@ export declare class ReusableWorkflowCallJob {
|
|
|
157
158
|
constructor(props: {
|
|
158
159
|
/** The location and version of a reusable workflow file to run as a job, of the form './{path/to}/{localfile}.yml' or '{owner}/{repo}/{path}/{filename}@{ref}'. {ref} can be a SHA, a release tag, or a branch name. Using the commit SHA is the safest for stability and security. */
|
|
159
160
|
uses: string;
|
|
161
|
+
"cache-mode"?: "read" | "write" | "write-only" | "none";
|
|
160
162
|
/** 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.
|
|
161
163
|
You can also specify concurrency at the workflow level.
|
|
162
164
|
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. */
|
|
@@ -241,6 +243,7 @@ You can run an unlimited number of jobs as long as you are within the workflow u
|
|
|
241
243
|
jobs: Record<string, unknown>;
|
|
242
244
|
/** The name of the GitHub event that triggers the workflow. You can provide a single event string, array of events, array of event types, or an event configuration map that schedules a workflow or restricts the execution of a workflow to specific files, tags, or branch changes. For a list of available events, see https://help.github.com/en/github/automating-your-workflow-with-github-actions/events-that-trigger-workflows. */
|
|
243
245
|
on: Record<string, unknown>;
|
|
246
|
+
"cache-mode"?: "read" | "write" | "write-only" | "none";
|
|
244
247
|
/** 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.
|
|
245
248
|
You can also specify concurrency at the workflow level.
|
|
246
249
|
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. */
|