Skip to content

Commit be933c9

Browse files
committed
Updated workflow and hwp previews badge for php code quality checks
1 parent 94a2c4f commit be933c9

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/code-quality.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
# 1. Detects plugins with a quality configuration (phpcs.xml) has changed
33
# 2. Runs PHP Code Quality checks on those plugins using the custom action
44
# 3. Creates a matrix job for each plugin that has a quality configuration
5-
# Bonus: This means you can have plugin specific badges e.g. [![Code Quality](https://img.shields.io/github/check-runs/wpengine/hwptoolkit/main?checkName=hwp-previews%20quality)](https://github.com/wpengine/hwptoolkit/actions)
6-
5+
# Bonus: This means you can have plugin specific badges e.g.
6+
# [![Code Quality](https://img.shields.io/github/check-runs/wpengine/hwptoolkit/main?checkName=hwp-previews%20php%20code%20quality%20checks)](https://github.com/wpengine/hwptoolkit/actions)
77

88
name: Code Quality
99

@@ -20,7 +20,7 @@ on:
2020
jobs:
2121
detect-plugins:
2222
runs-on: ubuntu-latest
23-
name: Detect plugins with quality config
23+
name: Detect plugins has php code quality configuration
2424
outputs:
2525
plugins: ${{ steps.detect.outputs.plugins }}
2626
has-plugins: ${{ steps.detect.outputs.has-plugins }}
@@ -82,7 +82,7 @@ jobs:
8282
matrix:
8383
plugin: ${{ fromJson(needs.detect-plugins.outputs.plugins) }}
8484
fail-fast: false
85-
name: ${{ matrix.plugin }} quality
85+
name: ${{ matrix.plugin }} php code quality checks
8686
steps:
8787
- name: Checkout
8888
uses: actions/checkout@v4

plugins/hwp-previews/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
![GitHub forks](https://img.shields.io/github/forks/wpengine/hwptoolkit?style=social)
1414
![GitHub stars](https://img.shields.io/github/stars/wpengine/hwptoolkit?style=social)
1515
[![Testing Integration](https://github.com/wpengine/hwptoolkit/workflows/Testing%20Integration/badge.svg)](https://github.com/wpengine/hwptoolkit/actions?query=workflow%3A%22Testing+Integration%22)
16-
[![Code Quality](https://github.com/wpengine/hwptoolkit/workflows/Code%20Quality/badge.svg)](https://github.com/wpengine/hwptoolkit/actions?query=workflow%3A%22Code+Quality%22)
16+
[![Code Quality](https://img.shields.io/github/check-runs/wpengine/hwptoolkit/main?checkName=hwp-previews%20php%20code%20quality%20checks)](https://github.com/wpengine/hwptoolkit/actions)
1717
[![End-to-End Tests](https://github.com/wpengine/hwptoolkit/workflows/End-to-End%20Tests/badge.svg)](https://github.com/wpengine/hwptoolkit/actions?query=workflow%3A%22End-to-End+Tests%22)
1818
-----
1919

0 commit comments

Comments
 (0)