Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/notify-library-release-notes.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Notify library release notes

on:
push:
tags: ['v*']

jobs:
notify:
if: vars.RELEASE_AUTOMATION == 'true'
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 }}"}'
Comment thread
validbeck marked this conversation as resolved.
Dismissed
Loading