diff --git a/.webhook_bridge/pipeline-build-semver.yaml b/.webhook_bridge/pipeline-build-semver.yaml index b6f4ff7..cab7bf5 100644 --- a/.webhook_bridge/pipeline-build-semver.yaml +++ b/.webhook_bridge/pipeline-build-semver.yaml @@ -61,7 +61,7 @@ spec: resolver: git params: - name: url - value: https://github.com/tektoncd/catalog.git + value: https://code.fizz.buzz/mirror/catalog.git # mirror of https://github.com/tektoncd/catalog.git - name: revision value: df36b3853a5657fd883015cdbf07ad6466918acf - name: pathInRepo @@ -86,7 +86,7 @@ spec: resolver: git params: - name: url - value: https://github.com/tektoncd/catalog.git + value: https://code.fizz.buzz/mirror/catalog.git # mirror of https://github.com/tektoncd/catalog.git - name: revision value: df36b3853a5657fd883015cdbf07ad6466918acf - name: pathInRepo @@ -106,7 +106,7 @@ spec: resolver: git params: - name: url - value: https://github.com/tektoncd/catalog.git + value: https://code.fizz.buzz/mirror/catalog.git # mirror of https://github.com/tektoncd/catalog.git - name: revision value: df36b3853a5657fd883015cdbf07ad6466918acf - name: pathInRepo @@ -147,7 +147,7 @@ spec: resolver: git params: - name: url - value: https://github.com/tektoncd/catalog.git + value: https://code.fizz.buzz/mirror/catalog.git # mirror of https://github.com/tektoncd/catalog.git - name: revision value: df36b3853a5657fd883015cdbf07ad6466918acf - name: pathInRepo @@ -176,7 +176,7 @@ spec: resolver: git params: - name: url - value: https://github.com/tektoncd/catalog.git + value: https://code.fizz.buzz/mirror/catalog.git # mirror of https://github.com/tektoncd/catalog.git - name: revision value: df36b3853a5657fd883015cdbf07ad6466918acf - name: pathInRepo diff --git a/.webhook_bridge/pipeline-format.yaml b/.webhook_bridge/pipeline-format.yaml index 4ecfef9..dd439af 100644 --- a/.webhook_bridge/pipeline-format.yaml +++ b/.webhook_bridge/pipeline-format.yaml @@ -29,7 +29,7 @@ spec: resolver: git params: - name: url - value: https://github.com/tektoncd/catalog.git + value: https://code.fizz.buzz/mirror/catalog.git # mirror of https://github.com/tektoncd/catalog.git - name: revision value: df36b3853a5657fd883015cdbf07ad6466918acf - name: pathInRepo @@ -54,7 +54,7 @@ spec: resolver: git params: - name: url - value: https://github.com/tektoncd/catalog.git + value: https://code.fizz.buzz/mirror/catalog.git # mirror of https://github.com/tektoncd/catalog.git - name: revision value: df36b3853a5657fd883015cdbf07ad6466918acf - name: pathInRepo @@ -74,7 +74,7 @@ spec: resolver: git params: - name: url - value: https://github.com/tektoncd/catalog.git + value: https://code.fizz.buzz/mirror/catalog.git # mirror of https://github.com/tektoncd/catalog.git - name: revision value: df36b3853a5657fd883015cdbf07ad6466918acf - name: pathInRepo @@ -149,7 +149,7 @@ spec: resolver: git params: - name: url - value: https://github.com/tektoncd/catalog.git + value: https://code.fizz.buzz/mirror/catalog.git # mirror of https://github.com/tektoncd/catalog.git - name: revision value: df36b3853a5657fd883015cdbf07ad6466918acf - name: pathInRepo @@ -185,7 +185,7 @@ spec: resolver: git params: - name: url - value: https://github.com/tektoncd/catalog.git + value: https://code.fizz.buzz/mirror/catalog.git # mirror of https://github.com/tektoncd/catalog.git - name: revision value: df36b3853a5657fd883015cdbf07ad6466918acf - name: pathInRepo @@ -214,7 +214,7 @@ spec: resolver: git params: - name: url - value: https://github.com/tektoncd/catalog.git + value: https://code.fizz.buzz/mirror/catalog.git # mirror of https://github.com/tektoncd/catalog.git - name: revision value: df36b3853a5657fd883015cdbf07ad6466918acf - name: pathInRepo diff --git a/.webhook_bridge/pipeline-rust-clippy.yaml b/.webhook_bridge/pipeline-rust-clippy.yaml index 52c3f7c..d134764 100644 --- a/.webhook_bridge/pipeline-rust-clippy.yaml +++ b/.webhook_bridge/pipeline-rust-clippy.yaml @@ -29,7 +29,7 @@ spec: resolver: git params: - name: url - value: https://github.com/tektoncd/catalog.git + value: https://code.fizz.buzz/mirror/catalog.git # mirror of https://github.com/tektoncd/catalog.git - name: revision value: df36b3853a5657fd883015cdbf07ad6466918acf - name: pathInRepo @@ -54,7 +54,7 @@ spec: resolver: git params: - name: url - value: https://github.com/tektoncd/catalog.git + value: https://code.fizz.buzz/mirror/catalog.git # mirror of https://github.com/tektoncd/catalog.git - name: revision value: df36b3853a5657fd883015cdbf07ad6466918acf - name: pathInRepo @@ -74,7 +74,7 @@ spec: resolver: git params: - name: url - value: https://github.com/tektoncd/catalog.git + value: https://code.fizz.buzz/mirror/catalog.git # mirror of https://github.com/tektoncd/catalog.git - name: revision value: df36b3853a5657fd883015cdbf07ad6466918acf - name: pathInRepo @@ -164,7 +164,7 @@ spec: resolver: git params: - name: url - value: https://github.com/tektoncd/catalog.git + value: https://code.fizz.buzz/mirror/catalog.git # mirror of https://github.com/tektoncd/catalog.git - name: revision value: df36b3853a5657fd883015cdbf07ad6466918acf - name: pathInRepo @@ -193,7 +193,7 @@ spec: resolver: git params: - name: url - value: https://github.com/tektoncd/catalog.git + value: https://code.fizz.buzz/mirror/catalog.git # mirror of https://github.com/tektoncd/catalog.git - name: revision value: df36b3853a5657fd883015cdbf07ad6466918acf - name: pathInRepo diff --git a/.webhook_bridge/pipeline-rust-test.yaml b/.webhook_bridge/pipeline-rust-test.yaml index 413313c..613b7d8 100644 --- a/.webhook_bridge/pipeline-rust-test.yaml +++ b/.webhook_bridge/pipeline-rust-test.yaml @@ -29,7 +29,7 @@ spec: resolver: git params: - name: url - value: https://github.com/tektoncd/catalog.git + value: https://code.fizz.buzz/mirror/catalog.git # mirror of https://github.com/tektoncd/catalog.git - name: revision value: df36b3853a5657fd883015cdbf07ad6466918acf - name: pathInRepo @@ -54,7 +54,7 @@ spec: resolver: git params: - name: url - value: https://github.com/tektoncd/catalog.git + value: https://code.fizz.buzz/mirror/catalog.git # mirror of https://github.com/tektoncd/catalog.git - name: revision value: df36b3853a5657fd883015cdbf07ad6466918acf - name: pathInRepo @@ -74,7 +74,7 @@ spec: resolver: git params: - name: url - value: https://github.com/tektoncd/catalog.git + value: https://code.fizz.buzz/mirror/catalog.git # mirror of https://github.com/tektoncd/catalog.git - name: revision value: df36b3853a5657fd883015cdbf07ad6466918acf - name: pathInRepo @@ -154,7 +154,7 @@ spec: resolver: git params: - name: url - value: https://github.com/tektoncd/catalog.git + value: https://code.fizz.buzz/mirror/catalog.git # mirror of https://github.com/tektoncd/catalog.git - name: revision value: df36b3853a5657fd883015cdbf07ad6466918acf - name: pathInRepo @@ -183,7 +183,7 @@ spec: resolver: git params: - name: url - value: https://github.com/tektoncd/catalog.git + value: https://code.fizz.buzz/mirror/catalog.git # mirror of https://github.com/tektoncd/catalog.git - name: revision value: df36b3853a5657fd883015cdbf07ad6466918acf - name: pathInRepo diff --git a/.webhook_bridge/pipeline-semver.yaml b/.webhook_bridge/pipeline-semver.yaml index be6eefb..49a597c 100644 --- a/.webhook_bridge/pipeline-semver.yaml +++ b/.webhook_bridge/pipeline-semver.yaml @@ -72,7 +72,7 @@ spec: resolver: git params: - name: url - value: https://github.com/tektoncd/catalog.git + value: https://code.fizz.buzz/mirror/catalog.git # mirror of https://github.com/tektoncd/catalog.git - name: revision value: df36b3853a5657fd883015cdbf07ad6466918acf - name: pathInRepo @@ -97,7 +97,7 @@ spec: resolver: git params: - name: url - value: https://github.com/tektoncd/catalog.git + value: https://code.fizz.buzz/mirror/catalog.git # mirror of https://github.com/tektoncd/catalog.git - name: revision value: df36b3853a5657fd883015cdbf07ad6466918acf - name: pathInRepo @@ -122,7 +122,7 @@ spec: resolver: git params: - name: url - value: https://github.com/tektoncd/catalog.git + value: https://code.fizz.buzz/mirror/catalog.git # mirror of https://github.com/tektoncd/catalog.git - name: revision value: df36b3853a5657fd883015cdbf07ad6466918acf - name: pathInRepo @@ -151,7 +151,7 @@ spec: resolver: git params: - name: url - value: https://github.com/tektoncd/catalog.git + value: https://code.fizz.buzz/mirror/catalog.git # mirror of https://github.com/tektoncd/catalog.git - name: revision value: df36b3853a5657fd883015cdbf07ad6466918acf - name: pathInRepo diff --git a/src/hook_push.rs b/src/hook_push.rs index 99cfc49..1632104 100644 --- a/src/hook_push.rs +++ b/src/hook_push.rs @@ -28,6 +28,8 @@ pub(crate) struct HookUser { id: u64, login: String, login_name: String, + #[serde(default, skip_serializing_if = "Option::is_none")] + source_id: Option, full_name: String, email: String, avatar_url: String,