Commit 7dbbe17
authored
[Actions] Add action to bump the hash used for the unified pipeline (#7712)
Context: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
Context: https://github.com/xamarin/sdk-insertions/wiki/Unified-pipeline#github-actions
Add a GitHub Actions Workflow in
`.github/workflows/sdk-insertion-bump.yml` which is run when new
commits are made to the `main` and `release/**` branches.
The GitHub Action will get the information of the updated branch and
send that commit informtaion to the xamarin/sdk-insertions repo using
a client payload via [`repository_dispatch`][0]. The event with the
payload is the parsed by
[xamarin/sdk-insertions/.github/workflows/sdk-bump.yml][1], which
updates various YAML files for the [unified insetion pipeline][2].
This allow to have the unified pipeline build the latest commits of
the SDKs without a manual trigger.
Co-authored-by: Peter Collins <[email protected]>
[0]: https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#repository_dispatch
[1]: https://github.com/xamarin/sdk-insertions/blob/85976c35520b21cbde62a9412c8525ac2a5f4b84/.github/workflows/sdk-bump.yml
[2]: https://github.com/xamarin/sdk-insertions/wiki/Unified-pipeline#requirements1 parent 22f10b2 commit 7dbbe17
1 file changed
+35
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
0 commit comments