Skip to content

Commit 3c3a963

Browse files
authored
Merge pull request #6724 from avalonmediasystem/use-workflow-dispatch
Change git workflow to use workflow_dispatch
2 parents acb9997 + d4783ff commit 3c3a963

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/update-ramp.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
name: Update Ramp Dependency
22

33
on:
4-
repository_dispatch:
5-
types: [ramp-build-updated]
64
workflow_dispatch:
5+
inputs:
6+
ramp_commit:
7+
description: 'The commit hash from Ramp'
8+
required: true
9+
repository_dispatch:
10+
types: [update-ramp]
711

812
jobs:
913
update-ramp:
@@ -14,7 +18,7 @@ jobs:
1418
steps:
1519
- uses: actions/checkout@v4
1620
with:
17-
ref: develop
21+
ref: ${{ github.ref }}
1822
- uses: actions/setup-node@v4
1923
with:
2024
node-version: '20'
@@ -52,7 +56,7 @@ jobs:
5256
5357
## Source commits
5458
${{ steps.collect-existing.outputs.commits }}
55-
- https://github.com/samvera-labs/ramp/commit/${{ github.event.client_payload.ramp_commit }}
59+
- https://github.com/samvera-labs/ramp/commit/${{ github.event.inputs.ramp_commit }}
5660
5761
branch: update-ramp-build
5862
base: develop

0 commit comments

Comments
 (0)