From 006e64f1975c6d4b54058ef061770efeff57d09d Mon Sep 17 00:00:00 2001 From: Alberto Nidasio <nidasioalberto@gmail.com> Date: Thu, 1 Aug 2024 20:07:45 +0200 Subject: [PATCH] [CI] Secured Skyward's API with an api-key --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2dcb9088..a94b2be8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -92,7 +92,7 @@ post_on_slack: image: curlimages/curl script: - | - curl -XPOST -H "Content-type: application/json" -d "{ + curl -XPOST -H "Content-type: application/json" -H "api-key: $SKYWARD_API_KEY" -d "{ \"project_id\": $CI_PROJECT_ID, \"pipeline_id\": $CI_PIPELINE_ID, \"message\": \"Bruh, SkywardHub just dropped a new build!\", -- GitLab