diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml index 075fe86..5536573 100644 --- a/.github/workflows/automerge.yml +++ b/.github/workflows/automerge.yml @@ -23,3 +23,13 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: gh pr merge --auto --squash ${{ github.event.pull_request.html_url }} + precommit: + if: ${{ github.event.pull_request.user.login == 'pre-commit-ci[bot]' }} + runs-on: ubuntu-latest + steps: + - env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: gh pr review --approve ${{ github.event.pull_request.html_url }} + - env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: gh pr merge --auto --squash ${{ github.event.pull_request.html_url }} diff --git a/docs/standard/technical/deployment.rst b/docs/standard/technical/deployment.rst index 089b4f3..3b98d93 100644 --- a/docs/standard/technical/deployment.rst +++ b/docs/standard/technical/deployment.rst @@ -189,12 +189,7 @@ Update and deploy the Data Review Tool This is the cove-ocds repository for OCDS, and cove-oc4ids for OC4IDS. -- Upgrade the requirements to use the new version of the CoVE library - - .. code-block:: shell - - pip-compile -P libcoveocds; pip-compile requirements_dev.in - +- Upgrade the requirements to use the new version of the CoVE library (``libcoveocds`` or ``libcoveoc4ids``). - Update the URL paths in `settings.py `__ (*only in cove-ocds*) - Make sure all tests pass - `Deploy the app `__