Skip to content

Commit

Permalink
Add workflow to send dispatch event to buildpacks/samples
Browse files Browse the repository at this point in the history
The workflow will trigger on published releases of lifecycle. Samples will be rebuilt on receiving dispatch events and updated with the latest lifecycle version. See buildpacks#801
  • Loading branch information
glokta1 committed Feb 14, 2023
1 parent 5382f32 commit 595d9fe
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/release-dispatch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: release-dispatch

on:
release:
types:
- published

jobs:
send-release-dispatch:
runs-on: ubuntu-latest
steps:
- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ secrets.PLATFORM_GITHUB_TOKEN }}
event-type: lifecycle-release
repository: buildpacks/samples

0 comments on commit 595d9fe

Please sign in to comment.