diff --git a/.github/workflows/release-dispatch.yml b/.github/workflows/release-dispatch.yml new file mode 100644 index 000000000..6b33a5000 --- /dev/null +++ b/.github/workflows/release-dispatch.yml @@ -0,0 +1,18 @@ +name: release-dispatch + +on: + release: + types: + - released + +jobs: + send-release-dispatch: + runs-on: ubuntu-latest + steps: + - name: Repository Dispatch + uses: peter-evans/repository-dispatch@v2 + with: + token: ${{ secrets.IMPLEMENTATION_GITHUB_TOKEN }} + event-type: lifecycle-release + repository: buildpacks/samples + client-payload: '{"version": "${{ github.event.release.tag_name }}"}'