From 5dce9368d617e5acd0a726c70a22403ca055019a Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Wed, 21 Sep 2022 20:34:17 -0700 Subject: [PATCH] CI: update sourcehut oauth token it expired after one year --- .builds/freebsd.yml | 2 +- ci/srht/on_master_success | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.builds/freebsd.yml b/.builds/freebsd.yml index a149d060d1..5535d036e1 100644 --- a/.builds/freebsd.yml +++ b/.builds/freebsd.yml @@ -1,7 +1,7 @@ image: freebsd/latest secrets: - 51bfddf5-86a6-4e01-8576-358c72a4a0a4 - - 512ed797-0927-475a-83fd-bc997792860c + - be22288f-b1bc-4243-abe3-43d8f0e7079b sources: - https://github.com/ziglang/zig tasks: diff --git a/ci/srht/on_master_success b/ci/srht/on_master_success index 7d3c4e955e..633dbc535a 100755 --- a/ci/srht/on_master_success +++ b/ci/srht/on_master_success @@ -44,6 +44,7 @@ EOF jq <$YML_FILE -sR '{ "manifest": ., }' | curl \ + --fail-with-body \ -H Authorization:"token $OAUTH_TOKEN" \ -H Content-Type:application/json \ -X POST \