From 43a694b74c65f12b22362eff49b6af6fed874675 Mon Sep 17 00:00:00 2001 From: JeanDaniel Bussy Date: Fri, 12 Dec 2025 23:10:37 +0100 Subject: [PATCH 1/2] github: obol-infrastructure version update on release (#4177) This PR enhances the Charon release workflow to automatically trigger version bump Pull Requests in the `obol-infrastructure` repository. category: feature ticket: none --- .github/workflows/release.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7af1b3b3a..a1206f3a6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -42,7 +42,7 @@ jobs: - name: Validate tag pattern id: validate_tag run: | - if [[ "${TAG_NAME}" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then + if [[ "${TAG_NAME}" =~ ^v[0-9]+\.[0-9]+\.[0-9]+(-rc[0-9]+)?$ ]]; then echo "TAG_VALID=true" >> $GITHUB_ENV else echo "TAG_VALID=false" >> $GITHUB_ENV @@ -110,3 +110,12 @@ jobs: repository: ObolNetwork/dv-launchpad event-type: update-version client-payload: '{"tag": "${{ env.TAG_NAME }}"}' + + - name: Trigger dispatch for obol-infrastructure + uses: peter-evans/repository-dispatch@28959ce8df70de7be546dd1250a005dd32156697 # v4.0.1 + if: env.TAG_VALID == 'true' + with: + token: ${{ secrets.OBOL_PLATFORM_PAT }} + repository: ObolNetwork/obol-infrastructure + event-type: update-version + client-payload: '{"tag": "${{ env.TAG_NAME }}"}' From 5d1855de7f60d63521794287c1629adf771b2d27 Mon Sep 17 00:00:00 2001 From: kalo <24719519+KaloyanTanev@users.noreply.github.com> Date: Fri, 12 Dec 2025 23:14:54 +0100 Subject: [PATCH 2/2] github: remove annotation from tagging in pipelines (#4176) * Remove annotation from tagging in pipelines * Fix comment --- .github/workflows/tag-minor-full-release.yml | 4 ++-- .github/workflows/tag-minor-release-candidate.yml | 4 ++-- .github/workflows/tag-patch-full-release.yml | 4 ++-- .github/workflows/tag-patch-release-candidate.yml | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/tag-minor-full-release.yml b/.github/workflows/tag-minor-full-release.yml index 1b4da57a6..9147e684c 100644 --- a/.github/workflows/tag-minor-full-release.yml +++ b/.github/workflows/tag-minor-full-release.yml @@ -130,8 +130,8 @@ jobs: TAG_VERSION="${{ steps.version.outputs.TAG_VERSION }}" RELEASE_BRANCH="${{ steps.find_branch.outputs.RELEASE_BRANCH }}" - # Create annotated tag - git tag -a "${TAG_VERSION}" -m "Release ${TAG_VERSION}" + # Create tag + git tag "${TAG_VERSION}" -m "Release ${TAG_VERSION}" # Push tag to remote git push origin "${TAG_VERSION}" diff --git a/.github/workflows/tag-minor-release-candidate.yml b/.github/workflows/tag-minor-release-candidate.yml index 29b919830..64bed6fab 100644 --- a/.github/workflows/tag-minor-release-candidate.yml +++ b/.github/workflows/tag-minor-release-candidate.yml @@ -108,8 +108,8 @@ jobs: run: | NEW_TAG="${{ steps.latest_rc.outputs.NEW_TAG }}" - # Create annotated tag - git tag -a "$NEW_TAG" -m "Release candidate $NEW_TAG" + # Create tag + git tag "$NEW_TAG" -m "Release candidate $NEW_TAG" # Push tag git push origin "$NEW_TAG" diff --git a/.github/workflows/tag-patch-full-release.yml b/.github/workflows/tag-patch-full-release.yml index 0161f8599..f79c188b6 100644 --- a/.github/workflows/tag-patch-full-release.yml +++ b/.github/workflows/tag-patch-full-release.yml @@ -162,8 +162,8 @@ jobs: TAG_VERSION="${{ steps.find_patch.outputs.TAG_VERSION }}" RELEASE_BRANCH="${{ steps.find_branch.outputs.RELEASE_BRANCH }}" - # Create annotated tag - git tag -a "${TAG_VERSION}" -m "Release ${TAG_VERSION}" + # Create tag + git tag "${TAG_VERSION}" -m "Release ${TAG_VERSION}" # Push tag to remote git push origin "${TAG_VERSION}" diff --git a/.github/workflows/tag-patch-release-candidate.yml b/.github/workflows/tag-patch-release-candidate.yml index bc16ab303..e0683f37c 100644 --- a/.github/workflows/tag-patch-release-candidate.yml +++ b/.github/workflows/tag-patch-release-candidate.yml @@ -141,8 +141,8 @@ jobs: run: | NEW_TAG="${{ steps.latest_rc.outputs.NEW_TAG }}" - # Create annotated tag - git tag -a "$NEW_TAG" -m "Release candidate $NEW_TAG" + # Create tag + git tag "$NEW_TAG" -m "Release candidate $NEW_TAG" # Push tag git push origin "$NEW_TAG"