Skip to content

Commit

Permalink
Merge pull request #1 from AndreasAugustin/test/prune_prs
Browse files Browse the repository at this point in the history
docs: 📝 small documentation addon
  • Loading branch information
kevin-aude authored Jan 25, 2024
2 parents 88ea897 + e6c2eeb commit 9491363
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -340,14 +340,18 @@ hooks:
- echo 'hi, we are within the prepr phase'
- echo 'maybe you want to change the code a bit and do another push before creating the pr'
```

## Labels creation

By default, generated PRs will be labeled with the `template_sync` label.
If that label doesn't exist in your repository, it will be created automatically unless you specify your own existing labels.
Associating a label with the generated PRs helps keeping track of them and allows for features like automatic PR cleanup.

## Pull request cleanup

Depending on your way of working, you may end up with multiple pull requests related to template syncing pointing to the same branch.
If you want to avoid this situation, you can instruct this action to clean up older PRs pointing to the same branch (search based on labels).
If you want to avoid this situation, you can instruct this action to clean up older PRs (search based on labels defined with the `pr_labels` config parameter).
:warning: this feature will close all pull requests with labels configured with `pr_labels` config parameter.

## Troubleshooting

Expand Down

0 comments on commit 9491363

Please sign in to comment.