technote-space/Create PR Action
Run command and create Pull Request.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| GITHUB_TOKEN | Secret GitHub API token used to make API requests or git authentication. | no | ${{ github.token }} |
| API_TOKEN | Secret GitHub API token used to make API requests. | no | — |
| PACKAGE_MANAGER | Package manager to use to install dependencies. | no | "" |
| DELETE_PACKAGE | Whether to delete package file before install packages for performance. | no | "" |
| INSTALL_PACKAGES | Packages to be installed. | no | "" |
| DEV_INSTALL_PACKAGES | Packages to be dev installed. | no | "" |
| GLOBAL_INSTALL_PACKAGES | Packages to be global installed. | no | "" |
| EXECUTE_COMMANDS | Commands to be executed. | yes | — |
| COMMIT_MESSAGE | Commit message. | yes | — |
| COMMIT_NAME | Git commit name. | no | "" |
| COMMIT_EMAIL | Git commit email. | no | "" |
| PR_BRANCH_PREFIX | PullRequest branch prefix. | no | create-pr-action/ |
| PR_BRANCH_NAME | PullRequest branch name. | yes | — |
| PR_TITLE | PullRequest title. | yes | — |
| PR_BODY | PullRequest body. | no | <!-- START pr-commits --> <!-- END pr-commits --> ## Base PullRequest ${PR_TITLE} (${PR_NUMBER_REF}) ## Command results <details> <summary>Details: </summary> ${COMMANDS_OUTPUT} </details> ## Changed files <details> <summary>${FILES_SUMMARY}: </summary> ${FILES} </details> <hr> [:octocat: Repo](${ACTION_URL}) | [:memo: Issues](${ACTION_URL}/issues) | [:department_store: Marketplace](${ACTION_MARKETPLACE_URL}) |
| PR_COMMENT_BODY | PullRequest body for comment. | no | ## Command results <details> <summary>Details: </summary> ${COMMANDS_OUTPUT} </details> ## Changed files <details> <summary>${FILES_SUMMARY}: </summary> ${FILES} </details> <hr> [:octocat: Repo](${ACTION_URL}) | [:memo: Issues](${ACTION_URL}/issues) | [:department_store: Marketplace](${ACTION_MARKETPLACE_URL}) |
| PR_DEFAULT_BRANCH_PREFIX | PullRequest branch prefix for default branch. | no | "" |
| PR_DEFAULT_BRANCH_NAME | PullRequest branch name for default branch. | no | "" |
| PR_DEFAULT_BRANCH_TITLE | PullRequest title for default branch. | no | "" |
| PR_DEFAULT_BRANCH_BODY | PullRequest body for default branch. | no | "" |
| PR_CLOSE_MESSAGE | Message body when closing PullRequest. | no | This PR is no longer needed because the package looks up-to-date. |
| PR_DATE_FORMAT1 | Date format. | no | YYYY-MM-DD HH:mm:ss |
| PR_DATE_FORMAT2 | Date format. | no | YYYY-MM-DD |
| FILTER_GIT_STATUS | Filter by git status. (M, D or A) | no | "" |
| FILTER_EXTENSIONS | Filter by extensions. (e.g. md, txt) | no | "" |
| TARGET_BRANCH_PREFIX | Filter by branch name. (e.g. release/) | no | "" |
| INCLUDE_LABELS | Labels used to check if the PullRequest has it. | no | "" |
| CHECK_DEFAULT_BRANCH | Whether to check default branch. | no | true |
| ONLY_DEFAULT_BRANCH | Whether not to check other than default branch. | no | — |
| AUTO_MERGE_THRESHOLD_DAYS | Threshold days to auto merge. | no | "" |
Outputs
no outputs