Skip to content

Commit 0fc85f8

Browse files
committed
Reset PRs.
1 parent d70ce19 commit 0fc85f8

File tree

3 files changed

+20
-5
lines changed

3 files changed

+20
-5
lines changed

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ updates:
3737
interval: "daily"
3838
open-pull-requests-limit: 50
3939
ignore:
40-
- dependency-name: "@wordpress/*"
40+
- dependency-name: "*"
4141
groups:
4242
##
4343
# Groups for updating devDependencies.

.github/workflows/pull-requests-built-files.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,19 @@ jobs:
9292
node-version-file: '.nvmrc'
9393
cache: npm
9494

95+
# This date is used to ensure that the PHPCS cache is cleared at least once every week.
96+
# http://man7.org/linux/man-pages/man1/date.1.html
97+
- name: "Get last Monday's date"
98+
id: get-date
99+
run: echo "date=$(/bin/date -u --date='last Mon' "+%F")" >> "$GITHUB_OUTPUT"
100+
101+
# Since Composer dependencies are installed using `composer update` and no lock file is in version control,
102+
# passing a custom cache suffix ensures that the cache is flushed at least once per week.
103+
- name: Install Composer dependencies
104+
uses: ramsey/composer-install@57532f8be5bda426838819c5ee9afb8af389d51a # v3.0.0
105+
with:
106+
custom-cache-suffix: ${{ steps.get-date.outputs.date }}
107+
95108
- name: Log debug information
96109
run: |
97110
npm --version
@@ -102,13 +115,16 @@ jobs:
102115
- name: Install npm Dependencies
103116
run: npm ci
104117

118+
- name: Run SASS precommit tasks
119+
run: npm run grunt precommit:css
120+
105121
- name: Run Emoji precommit task
106122
run: npm run grunt precommit:emoji
107123
env:
108124
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
109125

110-
- name: Run SASS precommit tasks
111-
run: npm run grunt precommit:css
126+
- name: Run certificate tasks
127+
run: npm run grunt copy:certificates
112128

113129
- name: Build WordPress
114130
run: npm run build:dev

composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,12 @@
1212
"require": {
1313
"ext-json": "*",
1414
"php": ">=7.2.24",
15-
"composer/ca-bundle": "1.4"
1615
},
1716
"suggest": {
1817
"ext-dom": "*"
1918
},
2019
"require-dev": {
21-
"composer/ca-bundle": "1.5.5",
20+
"composer/ca-bundle": "1.5.3",
2221
"squizlabs/php_codesniffer": "3.10.3",
2322
"wp-coding-standards/wpcs": "~3.1.0",
2423
"phpcompatibility/phpcompatibility-wp": "~2.1.3",

0 commit comments

Comments
 (0)