docs: add PR template
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Thu, 4 Jul 2024 21:44:24 +0000 (23:44 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Thu, 4 Jul 2024 21:44:24 +0000 (23:44 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
.github/pull_request_template.md [new file with mode: 0644]
.github/workflows/clone-count.yml
.github/workflows/release-please.yml

diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md
new file mode 100644 (file)
index 0000000..edef710
--- /dev/null
@@ -0,0 +1,23 @@
+<!--
+  Thanks for contributing to EVSE simulator project.
+  Please be sure to read our [contributing guidelines](https://github.com/sap/e-mobility-charging-stations-simulator/blob/master/CONTRIBUTING.md).
+-->
+
+## PR Checklist
+
+- [ ] Please add a description of your changes.
+- [ ] Please ensure title follows [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/).
+- [ ] We need your changes to come with unit tests in order to keep this project in quality and easy to maintain.
+- [ ] If your changes contain any new feature please be sure to document it.
+- [ ] Please add a link to the open issue or task that this pull request will resolve.
+
+## Does this PR introduce a breaking change?
+
+- [ ] Yes
+- [ ] No
+
+If yes please indicate it in the title and add migration info into the documentation.
+
+---
+
+<!-- Your PR text -->
index 43119339ba527a8b35fc0f5bc05c43523ba56d8c..4d68216c2347bc4763228ce2813020d140e05c49 100644 (file)
@@ -8,6 +8,7 @@ on:
 jobs:
   clone-count:
     runs-on: ubuntu-latest
+    if: github.repository == 'sap/e-mobility-charging-stations-simulator'
 
     steps:
       - uses: actions/checkout@v4
index 147a6d0a0b732db57dddc8121d5ec6acf8807dac..89a57cf53fe3c75f38be3e1ebaae56fa3a504f3c 100644 (file)
@@ -12,6 +12,7 @@ permissions:
 jobs:
   release-please:
     runs-on: ubuntu-latest
+    if: github.repository == 'sap/e-mobility-charging-stations-simulator'
     steps:
       - uses: googleapis/release-please-action@v4
         id: release