Skip to content

Commit 5528070

Browse files
committed
fix(workflows): update changelog commands to use php-actions/composer with PHP 8.3
Signed-off-by: Felipe Sayão Lobato Abreu <github@mentordosnerds.com>
1 parent 3cd8d3e commit 5528070

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

.github/workflows/changelog-bump.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,12 @@ jobs:
4444
args: '--prefer-dist --no-progress --no-interaction --no-scripts'
4545

4646
- name: Bootstrap changelog assets
47-
run: vendor/bin/dev-tools changelog:init
47+
uses: php-actions/composer@v6
48+
with:
49+
php_version: '8.3'
50+
php_extensions: pcov pcntl
51+
command: 'dev-tools'
52+
args: 'changelog:init'
4853

4954
- name: Commit changelog assets
5055
uses: EndBug/add-and-commit@v10

.github/workflows/require-changelog.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,11 @@ jobs:
5353
BASE_REF: ${{ steps.base_ref.outputs.value }}
5454

5555
- name: Verify unreleased changelog entries
56-
run: vendor/bin/dev-tools changelog:check --against="refs/remotes/origin/${BASE_REF}"
56+
uses: php-actions/composer@v6
5757
env:
5858
BASE_REF: ${{ steps.base_ref.outputs.value }}
59+
with:
60+
php_version: '8.3'
61+
php_extensions: pcov pcntl
62+
command: 'dev-tools'
63+
args: 'changelog:check -- --against="refs/remotes/origin/${BASE_REF}"'

0 commit comments

Comments
 (0)