Skip to content

Commit

Permalink
ci: also trigger push workflow on pdk update
Browse files Browse the repository at this point in the history
  • Loading branch information
EdieLemoine committed Sep 11, 2024
1 parent a6db55e commit 48df0ae
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/pdk-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ on:
run-name: 'Trigger from PDK release ${{ github.event.client_payload.version }}'

jobs:
trigger:
runs-on: ubuntu-22.04
steps:
- uses: benc-uk/workflow-dispatch@v1
with:
ref: beta
workflow: push.yml

prepare:
runs-on: ubuntu-22.04
outputs:
Expand Down Expand Up @@ -36,7 +44,7 @@ jobs:
ref: pr.head.ref
}));
trigger:
trigger-prs:
needs: prepare
runs-on: ubuntu-22.04
strategy:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
- alpha
- beta

workflow_dispatch:

concurrency:
group: '${{ github.workflow }}-${{ github.ref }}'
cancel-in-progress: true
Expand Down

0 comments on commit 48df0ae

Please sign in to comment.