From 2be7e62326240e03d754e720eabb98238c5458e2 Mon Sep 17 00:00:00 2001 From: Carmen Bianca BAKKER Date: Thu, 15 Feb 2024 15:34:05 +0100 Subject: [PATCH] [FIX] Update copier template This was previously using the OCA's instead of our own Signed-off-by: Carmen Bianca BAKKER --- .copier-answers.yml | 4 ++-- .github/pull_request_template.md | 14 ++++++++++++++ .github/workflows/test.yml | 17 ----------------- 3 files changed, 16 insertions(+), 19 deletions(-) create mode 100644 .github/pull_request_template.md diff --git a/.copier-answers.yml b/.copier-answers.yml index e0af472..21392fe 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -1,6 +1,6 @@ # Do NOT update manually; changes here will be overwritten by Copier -_commit: v1.20 -_src_path: https://github.com/OCA/oca-addons-repo-template.git +_commit: v2.2.1 +_src_path: https://github.com/coopiteasy/oca-addons-repo-template.git ci: GitHub convert_readme_fragments_to_markdown: false generate_requirements_txt: true diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..e6a7954 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,14 @@ +## Description + + + +## Odoo task (if applicable) + + + +## Checklist before approval + +- [ ] Tests are present (or not needed). +- [ ] Credits/copyright have been changed correctly. +- [ ] Change log snippet is present. +- [ ] (If a new module) Moving this to OCA has been considered. diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e6a8605..d71cce9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,23 +10,6 @@ on: - "16.0-ocabot-*" jobs: - unreleased-deps: - runs-on: ubuntu-latest - name: Detect unreleased dependencies - steps: - - uses: actions/checkout@v3 - - run: | - for reqfile in requirements.txt test-requirements.txt ; do - if [ -f ${reqfile} ] ; then - result=0 - # reject non-comment lines that contain a / (i.e. URLs, relative paths) - grep "^[^#].*/" ${reqfile} || result=$? - if [ $result -eq 0 ] ; then - echo "Unreleased dependencies found in ${reqfile}." - exit 1 - fi - fi - done test: runs-on: ubuntu-22.04 container: ${{ matrix.container }}