File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -194,6 +194,21 @@ jobs:
194194
195195 gh release edit "${TAG}" --notes-file /tmp/release-body.md
196196
197+ # Dispatch changelog entry creation to the marketing site repo.
198+ # Runs after update-release so the GitHub release body already has the exact Docker image URL.
199+ dispatch-changelog :
200+ name : 📝 Dispatch changelog PR
201+ needs : [release, update-release]
202+ if : needs.release.outputs.published == 'true'
203+ runs-on : ubuntu-latest
204+ steps :
205+ - uses : peter-evans/repository-dispatch@v3
206+ with :
207+ token : ${{ secrets.CROSS_REPO_PAT }}
208+ repository : triggerdotdev/trigger.dev-site-v3
209+ event-type : new-release
210+ client-payload : ' {"version": "${{ needs.release.outputs.published_package_version }}"}'
211+
197212 # The prerelease job needs to be on the same workflow file due to a limitation related to how npm verifies OIDC claims.
198213 prerelease :
199214 name : 🧪 Prerelease
You can’t perform that action at this time.
0 commit comments