Skip to content

Commit 66ea86b

Browse files
committed
Update to new CI logger, portal-client without isBinary field, new jobId option
1 parent 4d338c2 commit 66ea86b

File tree

11 files changed

+5982
-11995
lines changed

11 files changed

+5982
-11995
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ The action may be customized using the following optional inputs:
6464
| `projects` | Custom projects configuration for [monorepo mode](#monorepo-mode) | none |
6565
| `task` | Name of command to run Code PushUp per project in [monorepo mode](#monorepo-mode) | `code-pushup` |
6666
| `nxProjectsFilter` | CLI arguments used to filter Nx projects in [monorepo mode](#monorepo-mode) | `--with-target={task}` |
67-
| `configPatterns` | Performance optimization for large monorepos, see [`@code-pushup/ci` docs](https://github.com/code-pushup/cli/blob/main/packages/ci/README.md#faster-ci-runs-with-configpatterns) | `null` |
67+
| `configPatterns` | Performance optimization for large monorepos, see [`@code-pushup/ci` docs](https://github.com/code-pushup/cli/blob/main/packages/ci/README.md#faster-ci-runs-with-configpatterns) | none |
6868
| `token` | GitHub token for authorizing GitHub API requests | `${{ github.token }}` |
6969
| `annotations` | Toggles if annotations should be created for relevant Code PushUp issues | `true` |
7070
| `artifacts` | Toggles if artifacts will we uploaded/downloaded | `true` |
@@ -75,6 +75,7 @@ The action may be customized using the following optional inputs:
7575
| `config` | Path to config file (`--config` option) | see [`@code-pushup/cli` docs](https://github.com/code-pushup/cli/tree/main/packages/cli#configuration) |
7676
| `silent` | Toggles if logs from Code PushUp CLI are printed | `false` |
7777
| `bin` | Command for executing Code PushUp CLI | `npx --no-install code-pushup` |
78+
| `jobId` | Differentiate PR comments (useful if multiple jobs run Code PushUp) | none |
7879

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

action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,10 @@ inputs:
9494
Supports boolean or an integer (1-100), the latter overrides the default number of commits (10).
9595
required: true
9696
default: false
97+
jobId:
98+
description:
99+
Differentiate PR comments (useful if multiple jobs run Code PushUp)
100+
required: false
97101

98102
outputs:
99103
artifact-id:

0 commit comments

Comments
 (0)