Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos in profile selectors doc #4493

Merged
merged 1 commit into from
Sep 16, 2024
Merged
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
7 changes: 4 additions & 3 deletions docs/docs/how-to/profile_selectors.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ selection:
```

Let's break down the example above:

- `entity`: Defines the type of entity you want to filter (`repository`, `artifact`, or `pull_request`). In the case that the `entity` type is omitted, the selector will be applied to all entities.
- `selector`: The CEL expression that specifies the filtering criteria. In the example:
- The first selector filters repositories to include only those that are not forks and whose name starts with stacklok. In other words, those that are part of the stacklok organization.
Expand Down Expand Up @@ -81,7 +82,7 @@ Selectors for repositories allow you to filter and manage repositories based on

| Field | Description | Type |
|---------------------|-----------------------------------------------------------------------------|--------|
| `github/crated_at` | The time the artifact was created formatted as RFC3339 string | string |
| `github/created_at` | The time the artifact was created formatted as RFC3339 string | string |
| `github/name` | The full name of the artifact. | string |
| `github/type` | The type of the artifact, e.g. "container" | string |
| `github/visibility` | The visibility of the artifact, e.g. "public" | string |
Expand All @@ -96,7 +97,7 @@ Selectors for repositories allow you to filter and manage repositories based on
|--------|-------------------------------------------------------------|--------|
| `name` | The full name of the pull request, e.g. stacklok/minder/123 | string |

## Artifact properties set by the GitHub provider
## Pull request properties set by the GitHub provider

| Field | Description | Type |
|-------------------------|-----------------------------------------|--------|
Expand All @@ -113,4 +114,4 @@ Each entity can be filtered based on its provider.
| Field | Description | Type |
|---------|----------------------------------------------------|--------|
| `name` | The name of the provider, e.g. github-app-stacklok | string |
| `class` | The class of the provider, e.g. github-app | string |
| `class` | The class of the provider, e.g. github-app | string |
Loading