Skip to content

Commit

Permalink
Merge pull request #37 from SamirMarin/optional-autoclose
Browse files Browse the repository at this point in the history
Make autoclose optional
  • Loading branch information
GrantBirki authored Nov 1, 2023
2 parents efe4892 + bf9f269 commit 62a5e4d
Show file tree
Hide file tree
Showing 5 changed files with 508 additions and 501 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ As mentioned above is this README, a core reason why this Action exists is to "c
| `ignore_label` | The label to ignore when combining PRs | `"nocombine"` | `true` |
| `select_label` | The label which marks PRs that should be combined. Leave empty to consider all PRs. | `""` | `false` |
| `labels` | A comma separated list of labels to add to the combined PR - Example: `dependencies,combined-pr,etc` | `""` | `false` |
| `autoclose` | Whether or not to close combined PRs if the combined PR is merged - can be `"true"` or `"false"` | `"true"` | `false` |

## Outputs 📤

Expand Down
4 changes: 4 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ inputs:
description: A comma seperated list of labels to add to the combined PR
required: false
default: ""
autoclose:
description: Whether or not to close combined PRs if the combined PR is merged
required: false
default: "true"
outputs:
pr_url:
description: The pull request URL if a PR was created
Expand Down
Loading

0 comments on commit 62a5e4d

Please sign in to comment.