Skip to content

Commit

Permalink
feat: update close-pr to support other repos, etc (#584)
Browse files Browse the repository at this point in the history
* Update close-pr to support other repos, etc

* chore: committing generated dist

---------

Co-authored-by: Amanda Olsen <[email protected]>
Co-authored-by: amandaolsen <[email protected]>
  • Loading branch information
3 people authored Apr 4, 2024
1 parent c84a874 commit 7f7786b
Show file tree
Hide file tree
Showing 13 changed files with 221 additions and 72 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,11 @@ The following parameters can be used for additional control over when it is safe

### [close-pr](.github/workflows/close-pr.yml)

- Closes a pull request
- Closes a pull request in your current repo or in another repo.

### [create-pr](.github/workflows/create-pr.yml)

- Opens a pull request
- Opens a pull request.

### [create-project-card](.github/workflows/create-project-card.yml)

Expand All @@ -143,7 +143,7 @@ The following parameters can be used for additional control over when it is safe

### [create-pr-comment](.github/workflows/create-pr-comment.yml)

- Comments on a pull request or other issue
- Comments on a pull request or other issue in your current repo or in another repo

### [delete-stale-branches](.github/workflows/delete-stale-branches.yml)

Expand Down Expand Up @@ -209,6 +209,7 @@ Additionally, the following parameters can be used for additional control over t
- When a PR is merged, it automatically updates the first-queued PR with the default branch.
- You can also pass `login` and `slack_webhook_url` to notify the PR author when they are in the 1st position of the merge queue.
- Passing `skip_auto_merge: true` changes the default behaviour of automatically enabling auto-merge for PRs from the merge queue. In such case auto-merging should be enabled manually on individual PRs. It can be useful to avoid unattended deployments in case of CICD pipelines which are not fully prepared for continuous deployment.

### [move-project-card](.github/workflows/move-project-card.yml)

- Moves a GitHub Project card to a new column, using the `project_origin_column_name` and`project_destination_column_name` you provide.
Expand Down Expand Up @@ -248,8 +249,9 @@ Additionally, the following parameters can be used for additional control over t
- Determines whether the pipeline is clear for a PR. This means it will set the "pipeline" commit status to `pending` if there is an in-progress production deployment for the repo, and `success` otherwise.

### [update-check-result](.github/workflows/update-check-result.yml)

-
- Updates the result of a previous PR check tied to a commit status.
- Updates the result of a previous PR check tied to a commit status.

## Legal

Expand Down
6 changes: 6 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,12 @@ inputs:
skip_auto_merge:
description: 'Do not enable auto-merge automatically for the PRs from the merge queue'
required: false
repo_name:
description: 'Repository to interact with'
required: false
repo_owner_name:
description: 'Organization in which repository is stored'
required: false
outputs:
output:
description: 'The output of the helper'
Expand Down
31 changes: 18 additions & 13 deletions dist/461.index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/461.index.js.map

Large diffs are not rendered by default.

31 changes: 18 additions & 13 deletions dist/676.index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/676.index.js.map

Large diffs are not rendered by default.

45 changes: 27 additions & 18 deletions dist/830.index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 7f7786b

Please sign in to comment.