You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- [x] faq on how to get repository id and discussion category id
- [x] move checkout sooner in release image create
- [x] add secrets for image registry, username, and password to release test
Signed-off-by: jmeridth <[email protected]>
## How to I get the repository ID to put in my Actions secrets for use with the reusable release workflow?
4
+
5
+
You can get a repository's ID via the GitHub Rest API endpoint](https://docs.github.com/en/rest/repos/repos?apiVersion=2022-11-28#get-a-repository). I found using the `gh` CLI tool to be the easiest way to get the repository ID. You can use the following command to get the repository ID:
6
+
7
+
change the `OWNER` and `REPO` to the repository you are interested in.
8
+
9
+
```bash
10
+
# GitHub CLI api
11
+
# https://cli.github.com/manual/gh_api
12
+
13
+
gh api \
14
+
-H "Accept: application/vnd.github+json" \
15
+
-H "X-GitHub-Api-Version: 2022-11-28" \
16
+
/repos/OWNER/REPO
17
+
```
18
+
19
+
## How do I get the discussion category ID to put in my Actions secrets for use with the reusable release workflow?
20
+
21
+
You can get a repository's discussion category ID via the GitHub GraphQL API. You can use the [GraphQL Explorer UI Tool](https://docs.github.com/en/graphql/overview/explorer) to get the discussion category ID. You can use the following query to get the discussion category ID:
22
+
23
+
change the `owner` and `name` to the repository you are interested in.
0 commit comments