From 8033c49f1fe53ba2fc52675ffe71d96c256a6249 Mon Sep 17 00:00:00 2001 From: Beck <164545837+validbeck@users.noreply.github.com> Date: Tue, 23 Jun 2026 18:32:44 -0700 Subject: [PATCH 1/2] Library release automation --- .../notify-library-release-notes.yaml | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/notify-library-release-notes.yaml diff --git a/.github/workflows/notify-library-release-notes.yaml b/.github/workflows/notify-library-release-notes.yaml new file mode 100644 index 000000000..56045f4ff --- /dev/null +++ b/.github/workflows/notify-library-release-notes.yaml @@ -0,0 +1,29 @@ +name: Notify library release notes + +on: + push: + tags: ['v*'] + +jobs: + notify: + runs-on: ubuntu-latest + steps: + - name: Filter pre-release tags + id: filter + run: | + TAG="${{ github.ref_name }}" + if echo "$TAG" | grep -qE '-(rc|alpha|beta)'; then + echo "skip=true" >> "$GITHUB_OUTPUT" + echo "Skipping pre-release tag $TAG" + else + echo "skip=false" >> "$GITHUB_OUTPUT" + fi + + - name: Dispatch to release-notes + if: steps.filter.outputs.skip != 'true' + uses: peter-evans/repository-dispatch@v3 + with: + token: ${{ secrets.RELEASE_NOTES_GITHUB_TOKEN }} + repository: validmind/release-notes + event-type: library-release-notes + client-payload: '{"tag":"${{ github.ref_name }}"}' From 2c643a9ccb076730c989da3c82277e74e26b8699 Mon Sep 17 00:00:00 2001 From: Beck <164545837+validbeck@users.noreply.github.com> Date: Tue, 30 Jun 2026 11:59:48 -0700 Subject: [PATCH 2/2] Adding RELEASE_AUTOMATION flag --- .github/workflows/notify-library-release-notes.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/notify-library-release-notes.yaml b/.github/workflows/notify-library-release-notes.yaml index 56045f4ff..9ab964fc4 100644 --- a/.github/workflows/notify-library-release-notes.yaml +++ b/.github/workflows/notify-library-release-notes.yaml @@ -6,6 +6,7 @@ on: jobs: notify: + if: vars.RELEASE_AUTOMATION == 'true' runs-on: ubuntu-latest steps: - name: Filter pre-release tags