Skip to content

Commit fd3b987

Browse files
committed
test day minor change
1 parent 3835cb9 commit fd3b987

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

modules/observe/scorecards/proc-configuring-github-scorecards-in-rhdh-instance.adoc

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,16 @@ integrations:
4646
${GITHUB_INTEGRATION_PRIVATE_KEY_FILE}
4747
----
4848

49+
. Add the catalog ingest entity by adding the `catalog` section in your `{product-very-short} {my-app-config-file}`
50+
+
51+
[source,yaml]
52+
----
53+
catalog:
54+
locations:
55+
- type: url
56+
target: https://github.com/owner/repo/catalog-info.yaml
57+
----
58+
4959
. Configure the GitHub Scorecard plugin in your `{product-very-short} dynamic-plugins-config.yaml` by adding the following code to your `{product-very-short} dynamic-plugins-config.yaml`:
5060
+
5161
[source,yaml]
@@ -54,7 +64,6 @@ plugins:
5464
- package: oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/red-hat-developer-hub-backstage-plugin-scorecard-backend-module-github:bs_1.42.5__1.0.0!red-hat-developer-hub-backstage-plugin-scorecard-backend-module-github
5565
disabled: false
5666
----
57-
where:
5867

5968
. In your {product-very-short} entity that you want to configure for the GitHub Scorecard plugin, in the `catalog-info.yaml` file, link a component to the data source by adding the required annotations as shown in the following code:
6069
+
@@ -75,20 +84,20 @@ spec:
7584
owner: _<your_team_name>_
7685
----
7786
+
78-
Where:
79-
+
87+
where:
88+
8089
`annotations:github.com/project-slug`:: The GitHub repository format, for example, `owner/repository`.
8190
`annotations:backstage.io/source-location`:: The entity source location format, for example, `url:https://github.com/owner/repository`.
8291
`spec:owner`:: Your team name.
83-
92+
+
8493
[NOTE]
8594
====
8695
You must add the team entity to the Catalog to ensure the provided permissions are applicable.
8796
====
8897

8998
. (Optional) Configure metric threshold values.
9099

91-
.. To customize the thresholds for the **GitHub Open Pull Requests** (`github.open_prs`) metric, add the following section to your `app-config.yaml` file:
100+
.. To customize the thresholds for the **GitHub Open Pull Requests** (`github.open_prs`) metric, add the following section to your `{my-app-config-file}` file:
92101
+
93102
[source,yaml]
94103
----

0 commit comments

Comments
 (0)