Skip to content

Commit 13f950a

Browse files
authored
Usher updates (#244)
* Bring Usher up to date. * Update Usher CI files * allow drupal core-composer-scaffold plugin * Allow for more versions of async-aws/s3
1 parent 0d24d6c commit 13f950a

File tree

5 files changed

+13
-11
lines changed

5 files changed

+13
-11
lines changed

.github/workflows/backport-merged-pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ jobs:
2828
contains(github.event.comment.body, '/backport')
2929
)
3030
steps:
31-
- uses: actions/checkout@v4
31+
- uses: actions/checkout@v6
3232
- name: Create backport pull requests
33-
uses: korthout/backport-action@v3
33+
uses: korthout/backport-action@v4
3434
with:
3535
github_token: ${{ secrets.USHER_BACKPORT_PAT }}

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
php: [8.1, 8.2, 8.3]
1717

1818
steps:
19-
- uses: actions/checkout@v4
19+
- uses: actions/checkout@v6
2020

2121
- name: Setup PHP
22-
uses: shivammathur/setup-php@2.32.0
22+
uses: shivammathur/setup-php@2.36.0
2323
with:
2424
php-version: ${{ matrix.php }}
2525

@@ -48,7 +48,7 @@ jobs:
4848
runs-on: ubuntu-latest
4949
timeout-minutes: 15
5050
steps:
51-
- uses: actions/checkout@v4
51+
- uses: actions/checkout@v6
5252

5353
- name: YAML lint
5454
uses: ibiqlik/action-yamllint@v3.1

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@ downstream repos.
1414

1515
| Usher Version | PHP | Drupal | Notes |
1616
| --- | --- | --- | --- |
17-
| 4.x | 8.1+ | 9.5 - 10.1+ | **Active development**
17+
| 5.x | 8.1+ | 9.5 - 11.0+ | **Active development**
18+
| 4.x | 8.1+ | 9.5 - 10.1+ | **Minimally maintained**
1819
| 3.x | 8.1+ | 9.5 - 10.1+ | **Minimally maintained**
19-
| 2.x | 7.4 - 8.1 | 7, 9.4 - 10.0 | **Minimally maintained**
20+
| 2.x | 7.4 - 8.1 | 7, 9.4 - 10.0 | **Unsupported**
2021
| 1.x | 7.4 | 7, 8 | **Unsupported**
2122

2223
## Installation

composer.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"consolidation/robo": "^1.4 || ^2 || ^3 || ^4 || ^5",
2222
"squizlabs/php_codesniffer": "^3.5",
2323
"phpstan/phpstan-deprecation-rules": "^0.12.6 || ^1.0.0 || ^2.0.0",
24-
"async-aws/s3": "^1.8 || ^2.0",
24+
"async-aws/s3": "^1.8 || ^2.0 || ^3.0",
2525
"php": ">=8.1",
2626
"drush/drush": "^8 || ^10 || ^11 || ^12 || ^13",
2727
"webflo/drupal-finder": "^1.2",
@@ -31,7 +31,7 @@
3131
"phpcompatibility/php-compatibility": "^9.3",
3232
"guzzlehttp/guzzle": "^5.0 || ^6.0 || ^7.0",
3333
"rector/rector": "^0.16.0 || ^0.17.0 || ^0.18.0 || ^0.19.0 || ^1.0.0 || ^2.0.0",
34-
"symfony/yaml": "^6.3 || ^7.0"
34+
"symfony/yaml": "^6.3 || ^7.0 || ^8.0"
3535
},
3636
"autoload": {
3737
"psr-4": {
@@ -55,7 +55,8 @@
5555
"allow-plugins": {
5656
"dealerdirect/phpcodesniffer-composer-installer": true,
5757
"phpstan/extension-installer": true,
58-
"php-http/discovery": true
58+
"php-http/discovery": true,
59+
"drupal/core-composer-scaffold": true
5960
}
6061
},
6162
"require-dev": {

src/Robo/Plugin/Traits/GitHubStatusTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ protected function setGitHubStatus(
134134
'context' => $gitHubCheckName,
135135
'target_url' => $targetUrl ?? "$this->tugboatDashboardUrl/$tugboatPreviewID",
136136
];
137-
if (strlen($checkDescription) > 0) {
137+
if ($checkDescription !== '') {
138138
$body['description'] = $checkDescription;
139139
}
140140
try {

0 commit comments

Comments
 (0)