From 08c6b112d224a5cdcd6dea03b86a47306f8a5b26 Mon Sep 17 00:00:00 2001 From: guillaumebarat Date: Thu, 17 Oct 2024 14:20:10 +1000 Subject: [PATCH 1/3] Add secrets to workflow --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 75a7a00..ff53faf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,4 +5,6 @@ on: [push, pull_request] jobs: ci: - uses: catalyst/catalyst-moodle-workflows/.github/workflows/ci.yml@main \ No newline at end of file + uses: catalyst/catalyst-moodle-workflows/.github/workflows/ci.yml@main + secrets: + moodle_org_token: ${{ secrets.MOODLE_ORG_TOKEN }} \ No newline at end of file From a1c6224f0588b3f7569ec026166d0929856dde8c Mon Sep 17 00:00:00 2001 From: guillaumebarat Date: Thu, 17 Oct 2024 15:15:19 +1000 Subject: [PATCH 2/3] Update CI badge --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 79c525f..def3fcd 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -![GitHub Workflow Status (branch)](https://img.shields.io/github/workflow/status/catalyst/moodle-tool_webanalytics/ci/master) +![GitHub Workflow Status (branch)](https://img.shields.io/github/actions/workflow/status/catalyst/moodle-tool_webanalytics/ci.yml?branch=MOODLE_401_STABLE&label=ci) # Web Analytics From 3eca06b704038ada56f4cdb172c939abfec2535e Mon Sep 17 00:00:00 2001 From: guillaumebarat Date: Thu, 17 Oct 2024 15:49:28 +1000 Subject: [PATCH 3/3] Update parameter list for CI error --- .../local/hook/output/before_standard_head_html_generation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/local/hook/output/before_standard_head_html_generation.php b/classes/local/hook/output/before_standard_head_html_generation.php index 6e9ff23..bc9ab84 100644 --- a/classes/local/hook/output/before_standard_head_html_generation.php +++ b/classes/local/hook/output/before_standard_head_html_generation.php @@ -31,7 +31,7 @@ class before_standard_head_html_generation { /** * Render tracking code. * - * @param \core\hook\output\standard_head_html_generation $hook + * @param \core\hook\output\before_standard_head_html_generation $hook */ public static function callback(\core\hook\output\before_standard_head_html_generation $hook): void { $hook->add_html(injector::render_tracking_code());