From 3c5f154a546140a870363c7ce3c49a0c88ff3da1 Mon Sep 17 00:00:00 2001 From: Kenji Miyake Date: Thu, 17 Nov 2022 23:58:16 +0900 Subject: [PATCH 1/2] feat(update-codeowners-from-packages): support global codeowners Signed-off-by: Kenji Miyake --- update-codeowners-from-packages/README.md | 1 + update-codeowners-from-packages/action.yaml | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/update-codeowners-from-packages/README.md b/update-codeowners-from-packages/README.md index 0798f681..8d55fcba 100644 --- a/update-codeowners-from-packages/README.md +++ b/update-codeowners-from-packages/README.md @@ -36,6 +36,7 @@ If you want to combine the automatically generated `CODEOWNERS` with the manuall | ----------------- | -------- | ----------------------------------------------------- | | token | true | The token for pull requests. | | codeowners-manual | false | The path to the manually maintained `CODEOWNERS`. | +| global-codeowners | false | The GitHub IDs of global codeowners. | | pr-base | false | Refer to `peter-evans/create-pull-request`. | | pr-branch | false | The same as above. | | pr-title | false | The same as above. | diff --git a/update-codeowners-from-packages/action.yaml b/update-codeowners-from-packages/action.yaml index 7a81b8ba..e81a3f71 100644 --- a/update-codeowners-from-packages/action.yaml +++ b/update-codeowners-from-packages/action.yaml @@ -9,6 +9,9 @@ inputs: description: "" required: false default: .github/CODEOWNERS-manual + global-codeowners: + description: "" + required: false pr-base: description: "" required: false @@ -69,6 +72,10 @@ runs: for maintainer in $(grep '>.github/CODEOWNERS From 0053f99c699cb4fd37bf3ac2a27cb6e68c0983d2 Mon Sep 17 00:00:00 2001 From: Kenji Miyake Date: Fri, 18 Nov 2022 00:10:10 +0900 Subject: [PATCH 2/2] fix Signed-off-by: Kenji Miyake --- update-codeowners-from-packages/action.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/update-codeowners-from-packages/action.yaml b/update-codeowners-from-packages/action.yaml index e81a3f71..e696551b 100644 --- a/update-codeowners-from-packages/action.yaml +++ b/update-codeowners-from-packages/action.yaml @@ -72,12 +72,12 @@ runs: for maintainer in $(grep '>.github/CODEOWNERS done shell: bash