From 1f66ad92ef0a6dc3f9034e3dfee3df9c492f229a Mon Sep 17 00:00:00 2001 From: Paul Kevan <2290623+pkevan@users.noreply.github.com> Date: Fri, 30 May 2025 11:31:32 +0100 Subject: [PATCH 1/4] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1ccd666..be125f1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,7 +27,7 @@ jobs: run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Set up Composer caching - uses: actions/cache@v2 + uses: actions/cache@v4 env: cache-name: cache-composer-dependencies with: From bb39b7efcc663bbf83f9cf10d0baf840c5a9d0ed Mon Sep 17 00:00:00 2001 From: Paul Kevan <2290623+pkevan@users.noreply.github.com> Date: Fri, 30 May 2025 11:34:45 +0100 Subject: [PATCH 2/4] bump actions/checkout|cache --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index be125f1..60c2410 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -76,7 +76,7 @@ jobs: options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Install Subversion run: | @@ -88,7 +88,7 @@ jobs: run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Set up Composer caching - uses: actions/cache@v2 + uses: actions/cache@v4 env: cache-name: cache-composer-dependencies with: From 6c9328d296b8a604ff9e7ec5be0130b2dcc257c9 Mon Sep 17 00:00:00 2001 From: Paul Kevan <2290623+pkevan@users.noreply.github.com> Date: Fri, 30 May 2025 12:00:52 +0100 Subject: [PATCH 3/4] Badges: add core ai badge (#342) * Badges: add core ai badge --- plugins/wporg-5ftf/includes/xprofile.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plugins/wporg-5ftf/includes/xprofile.php b/plugins/wporg-5ftf/includes/xprofile.php index 61dff1f..9c9368e 100644 --- a/plugins/wporg-5ftf/includes/xprofile.php +++ b/plugins/wporg-5ftf/includes/xprofile.php @@ -321,6 +321,10 @@ function get_association_classes( $team ) { $classes = array( 'badge-code', 'dashicons-editor-code' ); break; + case 'core-ai-team': + $classes = array( 'badge-code-committer', 'dashicons-cloud-upload' ); + break; + case 'mobile-team': $classes = array( 'badge-mobile', 'dashicons-smartphone' ); break; @@ -512,7 +516,7 @@ function get_association_classes( $team ) { case 'core-performance-team': case 'performance-team': // Logo defined as SVG in CSS. - $classes = array( 'badge-performance-team' ); + $classes = array( 'badge-performance-team' ); break; case 'core-performance-contributor': From 35b7566992095119d8bdeee6e2d00a6cefeeda2e Mon Sep 17 00:00:00 2001 From: Paul Kevan <2290623+pkevan@users.noreply.github.com> Date: Fri, 30 May 2025 14:15:01 +0100 Subject: [PATCH 4/4] Update xprofile.php (#343) Corrects class for peformance badge. Fixes #341 --- plugins/wporg-5ftf/includes/xprofile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/wporg-5ftf/includes/xprofile.php b/plugins/wporg-5ftf/includes/xprofile.php index 9c9368e..920ac19 100644 --- a/plugins/wporg-5ftf/includes/xprofile.php +++ b/plugins/wporg-5ftf/includes/xprofile.php @@ -516,7 +516,7 @@ function get_association_classes( $team ) { case 'core-performance-team': case 'performance-team': // Logo defined as SVG in CSS. - $classes = array( 'badge-performance-team' ); + $classes = array( 'badge-performance-contributor' ); break; case 'core-performance-contributor':