From adf48b6989f362b54b4726b7afca890519b504a0 Mon Sep 17 00:00:00 2001 From: Alexander Bias Date: Sun, 11 Feb 2024 09:28:02 +0100 Subject: [PATCH] Peer review management: Add a github action checking pull requests for use of non get_config() theme settings references, resolves #257. --- .github/workflows/moodle-plugin-ci.yml | 6 ++++++ CHANGES.md | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/.github/workflows/moodle-plugin-ci.yml b/.github/workflows/moodle-plugin-ci.yml index 31a9b4eca26..4a32fcc0d2c 100644 --- a/.github/workflows/moodle-plugin-ci.yml +++ b/.github/workflows/moodle-plugin-ci.yml @@ -81,6 +81,12 @@ jobs: if: ${{ always() }} run: moodle-plugin-ci phpcs --max-warnings 0 + - name: Boost Union Code Checker + uses: JJ/github-pr-contains-action@releases/v10 + with: + github-token: ${{github.token}} + diffDoesNotContain: "theme->settings->" + - name: Moodle PHPDoc Checker if: ${{ always() }} run: moodle-plugin-ci phpdoc --max-warnings 0 diff --git a/CHANGES.md b/CHANGES.md index 2a9409bd70a..44244e5339f 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -4,6 +4,10 @@ moodle-theme_boost_union Changes ------- +### Unreleased + +* 2024-02-11 - Peer review management: Add a github action checking pull requests for use of non get_config() theme settings references, resolves #257. + ### v4.3-r5 * 2024-01-20 - Improvement: Add a side entrance login page for local logins if the local login form is disabled on the standard login page, resolves #539.