From d3c5972ac094d505fe34afe3ec4efa84b9b3c510 Mon Sep 17 00:00:00 2001 From: Shunsuke Suzuki Date: Sun, 26 Nov 2023 11:34:19 +0900 Subject: [PATCH 1/2] docs: fix the example of the input `repositories` `repositories` must be a list of repository names. Repository full names such as `github/docs` are invalid. --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6e23369..9c04877 100644 --- a/README.md +++ b/README.md @@ -40,8 +40,9 @@ jobs: private_key: ${{ secrets.PRIVATE_KEY }} # Optional. + # List of repository names that the token should have access to. # repositories: >- - # ["actions/toolkit", "github/docs"] + # ["github-app-token"] # Optional. # revoke: false From 30a726ad617e03b24a0a38e8f7bafe34450dacfa Mon Sep 17 00:00:00 2001 From: Shunsuke Suzuki Date: Sun, 26 Nov 2023 11:46:13 +0900 Subject: [PATCH 2/2] fix: fix the description of the input `repositories` --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 4146f35..c41a2eb 100644 --- a/action.yml +++ b/action.yml @@ -38,7 +38,7 @@ inputs: required: true repositories: description: >- - The JSON-stringified array of the full names of the repositories the token should have access to. + The JSON-stringified array of the names of the repositories the token should have access to. Defaults to all repositories that the installation can access. See https://docs.github.com/en/rest/apps/apps?apiVersion=2022-11-28#create-an-installation-access-token-for-an-app's `repositories`. revoke: