From ca9c8f8628126a4e6e4243543d08dc263a5482df Mon Sep 17 00:00:00 2001 From: ilia Nikiforov <78983960+ilia-nikiforov-umn@users.noreply.github.com> Date: Mon, 22 Sep 2025 21:57:05 -0500 Subject: [PATCH] Automatically send PRs on release This will automatically send a pull request to our container recipes any time a release is issued to help keep all software up to date, like this: https://github.com/openkim/openkim-pipeline/pull/90 https://github.com/openkim/developer-platform/pull/23 --- .github/workflows/publish.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 32b2429..6deebc2 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -36,3 +36,19 @@ jobs: run: | python setup.py sdist twine upload dist/* + send-pull-request-to-kdp: + uses: openkim/reusable-workflows/.github/workflows/upversion-pypi-package-and-send-pr.yml@main + secrets: inherit + with: + target-repository: developer-platform + target-repository-base-branch: main + recipe-file-path: docker/install/Dockerfile + needs: deploy + send-pull-request-to-pipeline: + uses: openkim/reusable-workflows/.github/workflows/upversion-pypi-package-and-send-pr.yml@main + secrets: inherit + with: + target-repository: openkim-pipeline + target-repository-base-branch: devel + recipe-file-path: singularity/hpccm-recipe-cumulative.py + needs: deploy