Skip to content

Commit 52b1b01

Browse files
committed
docs(ci-integration): add GitHub Action comment example and document target_dir input
1 parent 2121915 commit 52b1b01

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

assets/github-action-example.png

147 KB
Loading

docs/ci-integration.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,15 @@ The action will:
119119
- Post (or update) a PR comment with structural changes, new/fixed violations, and architecture trends
120120
- Fail the check if new violations are introduced (configurable via `fail-on-violations: false`)
121121

122+
**Example comment:**
123+
124+
![Github Action output example](https://raw.githubusercontent.com/akhundMurad/pacta/main/assets/github-action-example.png)
125+
122126
**Action Inputs:**
123127

124128
| Input | Default | Description |
125129
|-------|---------|-------------|
130+
| `target_dir` | `.` | Repository root |
126131
| `model` | `architecture.yml` | Path to architecture model |
127132
| `rules` | `rules.pacta.yml` | Path to rules file |
128133
| `baseline` | *(none)* | Baseline ref for incremental checks |

0 commit comments

Comments
 (0)