diff options
author | guillep2k <18600385+guillep2k@users.noreply.github.com> | 2019-10-30 09:43:59 -0300 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2019-10-30 14:43:59 +0200 |
commit | f9944c0e6929f1c314d0a6e8d38a5592ba6eee2c (patch) | |
tree | 8381e4df7ee7c2c9a25cec990a103b978cd4c04b /docs/content/doc | |
parent | ac6accef092ea5a983a4a8ee35282246fc3c6fc5 (diff) | |
download | gitea-f9944c0e6929f1c314d0a6e8d38a5592ba6eee2c.tar.gz gitea-f9944c0e6929f1c314d0a6e8d38a5592ba6eee2c.zip |
Configurable close and reopen keywords for PRs (#8120)
* Add settings for CloseKeywords and ReopenKeywords
* Fix and improve tests
* Use sync.Once() for initialization
* Fix unintended exported function
Diffstat (limited to 'docs/content/doc')
-rw-r--r-- | docs/content/doc/advanced/config-cheat-sheet.en-us.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/content/doc/advanced/config-cheat-sheet.en-us.md b/docs/content/doc/advanced/config-cheat-sheet.en-us.md index c2744b2958..bcf871a3a4 100644 --- a/docs/content/doc/advanced/config-cheat-sheet.en-us.md +++ b/docs/content/doc/advanced/config-cheat-sheet.en-us.md @@ -71,6 +71,10 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`. - `WORK_IN_PROGRESS_PREFIXES`: **WIP:,\[WIP\]**: List of prefixes used in Pull Request title to mark them as Work In Progress +- `CLOSE_KEYWORDS`: **close**, **closes**, **closed**, **fix**, **fixes**, **fixed**, **resolve**, **resolves**, **resolved**: List of + keywords used in Pull Request comments to automatically close a related issue +- `REOPEN_KEYWORDS`: **reopen**, **reopens**, **reopened**: List of keywords used in Pull Request comments to automatically reopen + a related issue ### Repository - Issue (`repository.issue`) |