Commit 7e7ccb5
authored
Honor source-repo-ref when checking out for release dispatch (DataDog#23836)
The release-trigger workflow accepts a source-repo-ref input, but the
reusable release-dispatch workflow's actions/checkout step did not pass
a ref, so it always checked out github.sha (the workflow's commit).
As a result, ddev release tag and the validation steps ran against the
wrong commit when a manual release was dispatched against a non-HEAD
ref. Pass inputs.source-repo-ref (with github.sha as the fallback) to
actions/checkout so the working tree matches the requested ref.1 parent 29823eb commit 7e7ccb5
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
| |||
0 commit comments