diff --git a/.github/workflows/dispatch.yaml b/.github/workflows/dispatch.yaml new file mode 100644 index 00000000..8d85f1cd --- /dev/null +++ b/.github/workflows/dispatch.yaml @@ -0,0 +1,20 @@ + +name: Tag Release of UI +on: + repository_dispatch: + types: release + +jobs: + tag-release: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Create a GitHub release + uses: ncipollo/release-action@v1 + with: + skipIfReleaseExists: true + tag: ${{ github.event.client_payload.tag }} + commit: main + name: Release ${{ github.event.client_payload.tag }} + generateReleaseNotes: true + prerelease: ${{ contains(github.event.client_payload.tag, '-rc') }} \ No newline at end of file