-
Notifications
You must be signed in to change notification settings - Fork 17
/
action.yaml
58 lines (57 loc) · 2.12 KB
/
action.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https:#www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: Code-Suggester
author: googleapis
description: An action-wrapper for the npm cli code-suggester. It suggests code to your repository
inputs:
command:
description: 'The command for code-suggester to run. Can be "pr" or "review"'
required: true
upstream_repo:
description: 'The repository to create the fork off of.'
upstream_owner:
description: 'The owner of the upstream repository.'
description:
description: 'The GitHub Pull Request description. Required for "pr" command.'
title:
description: 'The GitHub Pull Request title. Required for "pr" command.'
message:
description: 'The GitHub commit message. Required for "pr" command.'
branch:
description: 'The GitHub working branch name. Required for "pr" command.'
primary:
description: 'The primary upstream branch to open a PR against.'
default: main
force:
description: >-
Whether or not to force push a reference with different commit history
before the remote reference HEAD. Default is false
default: false
maintainers_can_modify:
description: 'Whether or not maintainers can modify the pull request.'
default: true
git_dir:
description: 'The path of a git directory'
default: .
fork:
description: >-
Whether or not to attempt forking to a separate repository. Default is true.
default: true
pull_number:
description: Pull Request number to review. Required for "review" command.
labels:
description: Labels to add to the pull request being opened.
runs:
using: 'node16'
main: 'action/dist/index.js'