From 7f9f4dea51cd3bca09f46d46c6c94becb60789c7 Mon Sep 17 00:00:00 2001 From: Oliver Lipkau Date: Fri, 17 Apr 2026 22:49:47 +0200 Subject: [PATCH] Add homepage notification on release Triggers repository_dispatch to AtlassianPS.github.io when a stable release tag is pushed, allowing the homepage to automatically update the AtlassianPS.Configuration submodule. Made-with: Cursor --- .github/workflows/release-notify.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/release-notify.yml diff --git a/.github/workflows/release-notify.yml b/.github/workflows/release-notify.yml new file mode 100644 index 0000000..fb9f6fd --- /dev/null +++ b/.github/workflows/release-notify.yml @@ -0,0 +1,19 @@ +name: Notify Homepage on Release + +on: + push: + tags: + - "v*" + +jobs: + notify: + runs-on: ubuntu-latest + if: ${{ !contains(github.ref_name, 'alpha') && !contains(github.ref_name, 'beta') && !contains(github.ref_name, 'rc') }} + steps: + - name: Notify homepage to update submodule + uses: peter-evans/repository-dispatch@v3 + with: + token: ${{ secrets.HOMEPAGE_PAT }} + repository: AtlassianPS/AtlassianPS.github.io + event-type: module-release + client-payload: '{"module": "AtlassianPS.Configuration", "version": "${{ github.ref_name }}"}'