Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .claude/skills/tirith-policies/reference/pipelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ steps:
- uses: actions/checkout@v4
- run: terraform plan -out=tfplan -input=false

- uses: StackGuardian/tirith-iac-governance-action@v2
- uses: StackGuardian/tirith-iac-governance-action@v2.1.1
with:
plan-file: tfplan
fail-on-error: true
Expand Down
2 changes: 1 addition & 1 deletion .cursor/rules/tirith-policies.mdc
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ steps:
- run: |
terraform plan -out=tfplan -input=false
terraform show -json tfplan > plan.json
- uses: StackGuardian/tirith-iac-governance-action@v2
- uses: StackGuardian/tirith-iac-governance-action@v2.1.1
with: {fail-on-error: true}
```

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ code:

```yaml
- run: terraform show -json tfplan > plan.json
- uses: StackGuardian/tirith-iac-governance-action@v2
- uses: StackGuardian/tirith-iac-governance-action@v2.1.1
```

With a `plan.json` in the working directory that is the whole integration — no `with:` block. Add
Expand Down
2 changes: 1 addition & 1 deletion documentation/docs/tirith-usage/ci-integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ steps:
terraform plan -out=tfplan -input=false
terraform show -json tfplan > plan.json

- uses: StackGuardian/tirith-iac-governance-action@v2
- uses: StackGuardian/tirith-iac-governance-action@v2.1.1
```

With a `plan.json` in the working directory that is the whole integration — no `with:` block. The
Expand Down
10 changes: 5 additions & 5 deletions documentation/src/data/demoPhases.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const DEMO_PHASES = [
checks: write

- run: terraform show -json tfplan > plan.json
- uses: StackGuardian/tirith-iac-governance-action@v2
- uses: StackGuardian/tirith-iac-governance-action@v2.1.1
with:
fail-on-error: true`,
outcome: {
Expand Down Expand Up @@ -54,7 +54,7 @@ export const DEMO_PHASES = [
'files are removed.',
delta: '4 files · +5 −77',
tag: 'Optional platform',
code: `- uses: StackGuardian/tirith-iac-governance-action@v2
code: `- uses: StackGuardian/tirith-iac-governance-action@v2.1.1
with:
sg-api-key: \${{ secrets.SG_API_TOKEN }}
sg-org: \${{ vars.SG_ORG }}
Expand Down Expand Up @@ -154,7 +154,7 @@ export const DEMO_PHASES = [
tag: 'Post-apply',
code: `- run: terraform show -json > state.json

- uses: StackGuardian/tirith-iac-governance-action@v2
- uses: StackGuardian/tirith-iac-governance-action@v2.1.1
continue-on-error: true
with:
input-path: state.json
Expand Down Expand Up @@ -212,7 +212,7 @@ export const PIPELINE_TARGETS = [
steps:
- run: terraform plan -out=tfplan -input=false

- uses: StackGuardian/tirith-iac-governance-action@v2
- uses: StackGuardian/tirith-iac-governance-action@v2.1.1
with:
plan-file: tfplan
fail-on-error: true`,
Expand Down Expand Up @@ -304,7 +304,7 @@ export const DEMO_REPOS = [

steps:
- run: terraform show -json tfplan > plan.json
- uses: StackGuardian/tirith-iac-governance-action@v2
- uses: StackGuardian/tirith-iac-governance-action@v2.1.1
with:
fail-on-error: true`,
},
Expand Down
2 changes: 1 addition & 1 deletion documentation/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
*/
command: `- run: terraform plan -out=tfplan -input=false

- uses: StackGuardian/tirith-iac-governance-action@v2
- uses: StackGuardian/tirith-iac-governance-action@v2.1.1
with:
plan-file: tfplan
fail-on-error: true`,
Expand Down Expand Up @@ -508,7 +508,7 @@
}, []);

const label =
state === 'copied' ? 'Copied' : state === 'manual' ? 'Press copy' : 'Copy the brief';

Check warning on line 511 in documentation/src/pages/index.js

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

See more on https://sonarcloud.io/project/issues?id=StackGuardian_policy-framework&issues=AaCF91KYeMZvS3_ErwNO&open=AaCF91KYeMZvS3_ErwNO&pullRequest=374

return (
<div className={styles.agentCopy}>
Expand All @@ -518,7 +518,7 @@
<span className={styles.agentCopySize}>
{(AGENT_BRIEF.length / 1024).toFixed(1)} KB of plain text
</span>
<span className={styles.srOnly} role="status">

Check warning on line 521 in documentation/src/pages/index.js

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Use <output> instead of the "status" role to ensure accessibility across all devices.

See more on https://sonarcloud.io/project/issues?id=StackGuardian_policy-framework&issues=AaCF91KYeMZvS3_ErwNP&open=AaCF91KYeMZvS3_ErwNP&pullRequest=374
{state === 'copied' ? 'Brief copied to clipboard' : ''}
</span>
</div>
Expand Down Expand Up @@ -636,7 +636,7 @@
* nobody has to work out which way "on" points. aria-pressed carries the state
* to a screen reader, which a pair of plain buttons otherwise would not.
*/}
<div className={styles.modeToggle} role="group" aria-label="View this page as">

Check warning on line 639 in documentation/src/pages/index.js

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Use <details>, <fieldset>, <optgroup>, or <address> instead of the "group" role to ensure accessibility across all devices.

See more on https://sonarcloud.io/project/issues?id=StackGuardian_policy-framework&issues=AaCF91KYeMZvS3_ErwNQ&open=AaCF91KYeMZvS3_ErwNQ&pullRequest=374
<button
type="button"
className={styles.modeButton}
Expand Down Expand Up @@ -815,7 +815,7 @@
* set large on this page and 04 followed by 06 reads as a fault rather than a
* choice. `anywhere` and the INTEGRATIONS import are both still in place.
*/}
{false && (

Check warning on line 818 in documentation/src/pages/index.js

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Refactor the code to avoid using this boolean literal.

See more on https://sonarcloud.io/project/issues?id=StackGuardian_policy-framework&issues=AaCF91KYeMZvS3_ErwNS&open=AaCF91KYeMZvS3_ErwNS&pullRequest=374

Check warning on line 818 in documentation/src/pages/index.js

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Unexpected constant truthiness on the left-hand side of a `&&` expression.

See more on https://sonarcloud.io/project/issues?id=StackGuardian_policy-framework&issues=AaCF91KYeMZvS3_ErwNR&open=AaCF91KYeMZvS3_ErwNR&pullRequest=374
<section className={styles.section}>
<SectionHead {...anywhere} />
<ul className={styles.integrations}>
Expand Down
2 changes: 1 addition & 1 deletion documentation/static/docs/tirith-usage/ci-integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ steps:
terraform plan -out=tfplan -input=false
terraform show -json tfplan > plan.json

- uses: StackGuardian/tirith-iac-governance-action@v2
- uses: StackGuardian/tirith-iac-governance-action@v2.1.1
```

With a `plan.json` in the working directory that is the whole integration — no `with:` block. The
Expand Down
2 changes: 1 addition & 1 deletion documentation/static/llms-full.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2910,7 +2910,7 @@ steps:
terraform plan -out=tfplan -input=false
terraform show -json tfplan > plan.json

- uses: StackGuardian/tirith-iac-governance-action@v2
- uses: StackGuardian/tirith-iac-governance-action@v2.1.1
```

With a `plan.json` in the working directory that is the whole integration — no `with:` block. The
Expand Down
Loading