From 0a31a6bb7e7f6bed741915a4b61091debb1697ea Mon Sep 17 00:00:00 2001 From: Kirill Isakov Date: Mon, 26 Aug 2024 02:35:48 +0500 Subject: [PATCH 1/2] Add a pull request template with some basic guidelines --- .github/pull_request_template.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/pull_request_template.txt diff --git a/.github/pull_request_template.txt b/.github/pull_request_template.txt new file mode 100644 index 00000000000..4b2fd1d70bd --- /dev/null +++ b/.github/pull_request_template.txt @@ -0,0 +1,15 @@ +Please check the following tips: + +1. Avoid using force-push and commands that require it (such as `commit --amend` and `rebase origin/main`). This makes it more difficult for the maintainers to review your work. Add new commits on top of the current branch, and merge the new state of `main` into your branch with plain `merge`. + +2. Provide a meaningful title for this pull request. It will be used as the commit message when this pull request is merged. Add as many commits as you like with any messages you like, they will be squashed into one commit. + +3. If this pull request fixes an issue, refer to the issue with messages like `Ref #1234`, `Closes #1234`, or `Fixes #1234`. + +4. Please check that you are targeting the `main` branch. Pull requests on release branches are only allowed for backports. + +5. Make sure you have read contribution guidelines: https://woodpecker-ci.org/docs/development/getting-started + +6. It is recommended to enable "Allow edits by maintainers", so maintainers can help you more easily. + +Make sure to remove these tips (or replace them with a description) after you have read them. From 55d5c48048e5629a4038c464a8ab05503ece8efe Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Mon, 26 Aug 2024 00:00:03 +0200 Subject: [PATCH 2/2] Update .github/pull_request_template.txt --- .github/pull_request_template.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/pull_request_template.txt b/.github/pull_request_template.txt index 4b2fd1d70bd..ec43d6ff4d6 100644 --- a/.github/pull_request_template.txt +++ b/.github/pull_request_template.txt @@ -4,7 +4,7 @@ Please check the following tips: 2. Provide a meaningful title for this pull request. It will be used as the commit message when this pull request is merged. Add as many commits as you like with any messages you like, they will be squashed into one commit. -3. If this pull request fixes an issue, refer to the issue with messages like `Ref #1234`, `Closes #1234`, or `Fixes #1234`. +3. If this pull request fixes an issue, refer to the issue with messages like `Ref #1234`, `Closes #1234`, or `Fixes #1234` in the pull description. 4. Please check that you are targeting the `main` branch. Pull requests on release branches are only allowed for backports.