Skip to content

Commit 2abd1f6

Browse files
committed
Merge branch 'develop' into trunk
2 parents b37148d + 2b7ca1b commit 2abd1f6

25 files changed

+2066
-1061
lines changed

.github/workflows/build-release-zip.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,22 @@ jobs:
1111
build:
1212
name: Build release zip
1313
runs-on: ubuntu-latest
14+
1415
steps:
1516
- name: Checkout
16-
uses: actions/checkout@v4
17+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1718

1819
- name: Cache node_modules
1920
id: cache-node-modules
20-
uses: actions/cache@v4
21+
uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
2122
env:
2223
cache-name: cache-node-modules
2324
with:
2425
path: node_modules
2526
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
2627

2728
- name: Setup node version and npm cache
28-
uses: actions/setup-node@v4
29+
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
2930
with:
3031
node-version-file: '.nvmrc'
3132
cache: 'npm'
@@ -38,4 +39,4 @@ jobs:
3839
run: npm run build
3940

4041
- name: Generate ZIP file
41-
uses: 10up/action-wordpress-plugin-build-zip@stable
42+
uses: 10up/action-wordpress-plugin-build-zip@b9e621e1261ccf51592b6f3943e4dc4518fca0d1 # v1.0.2

.github/workflows/close-stale-issues.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
stale:
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/stale@v9
18+
- uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9.1.0
1919
with:
2020
days-before-stale: 7
2121
days-before-close: 7
@@ -33,4 +33,3 @@ jobs:
3333
close-issue-reason: 'not_planned'
3434
any-of-labels: 'needs:feedback'
3535
remove-stale-when-updated: true
36-

.github/workflows/cypress.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ on:
1212
jobs:
1313
build:
1414
uses: 10up/simple-podcasting/.github/workflows/build-release-zip.yml@develop
15+
1516
cypress:
1617
needs: build
1718
runs-on: ubuntu-latest
@@ -22,22 +23,25 @@ jobs:
2223
core:
2324
- {name: 'WP latest', version: 'latest'}
2425
- {name: 'WP trunk', version: 'WordPress/WordPress#master'}
25-
- {name: 'WP minimum', version: 'WordPress/WordPress#6.5'}
26+
- {name: 'WP minimum', version: 'WordPress/WordPress#6.6'}
2627

2728
steps:
2829
- name: Checkout
29-
uses: actions/checkout@v4
30+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
31+
3032
- name: Download build zip
31-
uses: actions/download-artifact@v4
33+
uses: actions/download-artifact@b14cf4c92620c250e1c074ab0a5800e37df86765 # v4.2.0
3234
with:
3335
name: ${{ github.event.repository.name }}
3436
path: ${{ github.event.repository.name }}
37+
3538
- name: Display structure of downloaded files
3639
run: ls -R
3740
working-directory: ${{ github.event.repository.name }}
41+
3842
- name: Cache node_modules
3943
id: cache-node-modules
40-
uses: actions/cache@v4
44+
uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
4145
env:
4246
cache-name: cache-node-modules
4347
with:
@@ -46,8 +50,10 @@ jobs:
4650
~/.cache
4751
~/.npm
4852
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
53+
4954
- name: Install dependencies
5055
run: npm install
56+
5157
- name: Set the core version and plugins config
5258
run: ./tests/bin/set-wp-config.js --core=${{ matrix.core.version }} --plugins=./${{ github.event.repository.name }}
5359

@@ -67,8 +73,9 @@ jobs:
6773
npx mochawesome-json-to-md -p ./tests/cypress/reports/mochawesome.json -o ./tests/cypress/reports/mochawesome.md
6874
npx mochawesome-report-generator tests/cypress/reports/mochawesome.json -o tests/cypress/reports/
6975
cat ./tests/cypress/reports/mochawesome.md >> $GITHUB_STEP_SUMMARY
76+
7077
- name: Make artifacts available
71-
uses: actions/upload-artifact@v4
78+
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
7279
if: failure()
7380
with:
7481
name: cypress-artifact

.github/workflows/dependency-review.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,10 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: 'Checkout Repository'
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
19+
1920
- name: Dependency Review
20-
uses: actions/dependency-review-action@v4
21+
uses: actions/dependency-review-action@72eb03d02c7872a771aacd928f3123ac62ad6d3a # v4.3.3
2122
with:
2223
license-check: true
2324
vulnerability-check: false

.github/workflows/php-compatibility.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,22 @@ jobs:
2020

2121
steps:
2222
- name: Checkout
23-
uses: actions/checkout@v4
23+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2424

2525
- name: Set standard 10up cache directories
2626
run: |
2727
composer config -g cache-dir "${{ env.COMPOSER_CACHE }}"
2828
2929
- name: Prepare composer cache
30-
uses: actions/cache@v4
30+
uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
3131
with:
3232
path: ${{ env.COMPOSER_CACHE }}
3333
key: composer-${{ env.COMPOSER_VERSION }}-${{ hashFiles('**/composer.lock') }}
3434
restore-keys: |
3535
composer-${{ env.COMPOSER_VERSION }}-
3636
3737
- name: Set PHP version
38-
uses: shivammathur/setup-php@v2
38+
uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 # v2.32.0
3939
with:
4040
php-version: '7.4'
4141
coverage: none

.github/workflows/phpcs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919

2020
steps:
2121
- name: Checkout
22-
uses: actions/checkout@v4
22+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2323

2424
- name: Set PHP version
25-
uses: shivammathur/setup-php@v2
25+
uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 # v2.32.0
2626
with:
2727
php-version: '7.4'
2828
coverage: none

.github/workflows/phpunit.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,26 +27,26 @@ jobs:
2727

2828
steps:
2929
- name: Checkout
30-
uses: actions/checkout@v4
30+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3131

3232
- name: Set standard 10up cache directories
3333
run: |
3434
composer config -g cache-dir "${{ env.COMPOSER_CACHE }}"
3535
36-
- uses: actions/setup-node@v4
36+
- uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
3737
with:
3838
node-version-file: '.nvmrc'
3939

4040
- name: Prepare composer cache
41-
uses: actions/cache@v4
41+
uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
4242
with:
4343
path: ${{ env.COMPOSER_CACHE }}
4444
key: composer-${{ env.COMPOSER_VERSION }}-${{ hashFiles('**/composer.lock') }}
4545
restore-keys: |
4646
composer-${{ env.COMPOSER_VERSION }}-
4747
4848
- name: Set PHP version
49-
uses: shivammathur/setup-php@v2
49+
uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 # v2.32.0
5050
with:
5151
php-version: '${{ matrix.php.version }}'
5252
coverage: none

.github/workflows/push-asset-readme-update.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,13 @@ jobs:
99
trunk:
1010
name: Push to trunk
1111
runs-on: ubuntu-latest
12+
1213
steps:
1314
- name: Checkout code
14-
uses: actions/checkout@v4
15+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1516

1617
- name: install node
17-
uses: actions/setup-node@v4
18+
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
1819
with:
1920
node-version-file: .nvmrc
2021

@@ -24,7 +25,7 @@ jobs:
2425
npm run build
2526
2627
- name: WordPress.org plugin asset/readme update
27-
uses: 10up/action-wordpress-plugin-asset-update@stable
28+
uses: 10up/action-wordpress-plugin-asset-update@2480306f6f693672726d08b5917ea114cb2825f7 # v2.2.0
2829
env:
2930
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
3031
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}

.github/workflows/push-deploy.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,40 @@
11
name: Deploy to WordPress.org
2+
23
on:
34
release:
45
types: [published]
6+
57
jobs:
68
tag:
79
name: New release
810
runs-on: ubuntu-latest
11+
912
steps:
1013
- name: Checkout code
11-
uses: actions/checkout@v4
12-
- name: install node v12
13-
uses: actions/setup-node@v4
14+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
15+
16+
- name: install node
17+
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
1418
with:
1519
node-version-file: .nvmrc
20+
1621
- name: Build
1722
run: |
1823
npm ci
1924
npm run build
25+
npm run makepot
26+
2027
- name: WordPress Plugin Deploy
2128
id: deploy
22-
uses: 10up/action-wordpress-plugin-deploy@stable
29+
uses: 10up/action-wordpress-plugin-deploy@54bd289b8525fd23a5c365ec369185f2966529c2 # v2.3.0
2330
with:
2431
generate-zip: true
2532
env:
2633
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
2734
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
35+
2836
- name: Upload release asset
29-
uses: softprops/action-gh-release@v2
37+
uses: softprops/action-gh-release@c95fe1489396fe8a9eb87c0abf8aa5b2ef267fda # v2.2.1
3038
env:
3139
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3240
with:

.github/workflows/repo-automator.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: 'Repo Automator'
2+
23
on:
34
issues:
45
types:
@@ -20,7 +21,7 @@ jobs:
2021
Validate:
2122
runs-on: ubuntu-latest
2223
steps:
23-
- uses: 10up/action-repo-automator@trunk
24+
- uses: 10up/action-repo-automator@280f5dc0b4ed1b5c50c816e08623bdefce55cdce # v2.1.3
2425
with:
2526
fail-label: needs:feedback
2627
pass-label: needs:code-review

0 commit comments

Comments
 (0)