Skip to content

Commit c6a58e4

Browse files
committed
Document annotations feature
1 parent 90edc1f commit c6a58e4

1 file changed

Lines changed: 11 additions & 9 deletions

File tree

README.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ into your CI workflows.**
1919
- 💬 When a PR is opened/updated, compares reports for source and target
2020
branches, and creates/updates a PR comment which summarizes the impact of the
2121
changes.
22+
- ⚠️ Also annotates changed files with new issues encountered by Code PushUp.
2223

2324
## Workflow example
2425

@@ -48,15 +49,16 @@ jobs:
4849
4950
The action may be customized using the following optional inputs:
5051
51-
| Name | Description | Default |
52-
| :---------- | :----------------------------------------------- | :----------------------------------------------------------------------------------------------------- |
53-
| `token` | GitHub token for authorizing GitHub API requests | `${{ github.token }}` |
54-
| `artifacts` | Toggles if artifacts will we uploaded/downloaded | `true` |
55-
| `retention` | Artifact retention period in days | from repository settings |
56-
| `directory` | Directory in which `code-pushup` should run | `process.cwd()` |
57-
| `config` | Path to config file (`--config` option) | see [`@code-pushup/cli` docs](https://github.com/code-pushup/cli/tree/main/packages/cli#configuration) |
58-
| `silent` | Toggles if logs from Code PushUp CLI are printed | `false` |
59-
| `bin` | Command for executing Code PushUp CLI | `npx --no-install code-pushup` |
52+
| Name | Description | Default |
53+
| :------------ | :----------------------------------------------------------------------- | :----------------------------------------------------------------------------------------------------- |
54+
| `token` | GitHub token for authorizing GitHub API requests | `${{ github.token }}` |
55+
| `annotations` | Toggles if annotations should be created for relevant Code PushUp issues | `true` |
56+
| `artifacts` | Toggles if artifacts will we uploaded/downloaded | `true` |
57+
| `retention` | Artifact retention period in days | from repository settings |
58+
| `directory` | Directory in which `code-pushup` should run | `process.cwd()` |
59+
| `config` | Path to config file (`--config` option) | see [`@code-pushup/cli` docs](https://github.com/code-pushup/cli/tree/main/packages/cli#configuration) |
60+
| `silent` | Toggles if logs from Code PushUp CLI are printed | `false` |
61+
| `bin` | Command for executing Code PushUp CLI | `npx --no-install code-pushup` |
6062

6163
For example, this will run `code-pushup` commands in a non-root folder and
6264
retain report artifacts for 30 days:

0 commit comments

Comments
 (0)