Skip to content

Commit e30308e

Browse files
committed
PHP-1688: Allow Composer Plugin
1 parent 11ab545 commit e30308e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/actions/setup-sbom/action.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ runs:
1313
shell: bash
1414
run: curl -sS https://getcomposer.org/installer | php -- --install-dir=. --filename=composer
1515

16-
- name: Install cdxgen
16+
- name: Allow CycloneDX plugin
1717
shell: bash
18-
run: ./composer require --dev cyclonedx/cyclonedx-php-composer --ignore-platform-reqs --no-plugins
18+
run: ./composer config allow-plugins.cyclonedx/cyclonedx-php-composer true
19+
20+
- name: Install CycloneDX plugin
21+
shell: bash
22+
run: ./composer require --dev cyclonedx/cyclonedx-php-composer --ignore-platform-reqs

0 commit comments

Comments
 (0)