fortinet/Create versioning pull request
Create a pull request for increasing the node package version.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit May 22, 2021
- License
- MIT
- Runtime
- Deprecated runtime
Pinned Snippet
uses: fortinet/github-action-version-pr@085fb646b96f4b8407ab31f301cc6fafb638b884 # 1.0.3tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | The GitHub automatically created secret to use in your workflow for authentications. | yes | — |
| base-branch | The base branch that the pull request will be going to. | yes | — |
| head-branch | The head branch which the pull request is taking from. | yes | — |
| pr-fail-if-exist | A boolean indicator for the behavior of re-issuing a pull request with the same head and base branch. If set 'true', the action will fail for existing open pr. | no | true |
| pr-create-draft | A boolean indicator for whether to create a draft pull request or actual one. | no | false |
| pr-template-uri | The uri of the template of pre-configured values for the pull request to be used. See the README.md on the github repo for more information. | no | .github/workflows/templates/version-pr.yml |
| pr-title | The title for the pull request. If non-empty value is specified, the value here will be used and override the title property value in pr-template-uri. | no | — |
| pr-description | The description for the pull request. If non-empty value is specified, the value here will be used and override the description property value in pr-template-uri. | no | — |
| pr-reviewers | A comma-separated list of the reviewers (usernames) for the pull request. If pr-template-uri is also used, this parameter will override the 'reviewers' field in the template. Giving a single comma as the value here, i.e. ',' can override and disable this setting. | no | — |
| pr-team-reviewers | A comma-separated list of the team reviewers (usernames) for the pull request. If pr-template-uri is also used, this parameter will override the 'team reviewers' field in the template. Giving a single comma as the value here, i.e. ',' can override and disable this setting. | no | — |
| pr-assignees | A comma-separated list of the assignees (usernames) for the pull request. If pr-template-uri is also used, this parameter will override the 'assignees' field in the template. Giving a single comma as the value here, i.e. ',' can override and disable this setting. Only users with push access can add assignees to an issue. Assignees are silently ignored otherwise. | no | — |
| pr-labels | A comma-separated list of the labels for the pull request. If pr-template-uri is also used, this parameter will override the 'labels' field in the template. Giving a single comma as the value here, i.e. ',' can override and disable this setting. | no | — |
Outputs
| name | description |
|---|---|
| base-branch | The base branch for this pull request. |
| head-branch | The head branch for this pull request. |
| base-version | The version found in the package.json on the base branch. |
| head-version | The version found in the package.json on the head branch. |
| is-prerelease | A boolean indicator for whether the version is considered as a prerelease or not. |
| is-pr-draft | A boolean indicator for whether it is a draft pull request or actual one. |
| pull-request-number | The new pull request number. |
| pull-request-url | The new pull request url. |
| assignees | The comma-separated list of assignees to the new pull request. |
| reviewers | The comma-separated list of reviewers to the new pull request. |
| team-reviewers | The comma-separated list of team reviewers to the new pull request. |
| labels | The comma-separated list of labels to the new pull request. |