From e605b644e192182aef656b7a4dadac9c8b7fcaff Mon Sep 17 00:00:00 2001 From: marcelmanzel Date: Tue, 6 Feb 2024 17:37:00 +0100 Subject: [PATCH] OXDEV-7301: Add test workflow for cyclonedx sbom generation --- .github/workflows/sbom.yml | 11 +++++++++++ .github/workflows/trigger.yml | 2 +- composer.json | 15 ++++++++++++++- 3 files changed, 26 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sbom.yml b/.github/workflows/sbom.yml index 0eb542e..86e2663 100644 --- a/.github/workflows/sbom.yml +++ b/.github/workflows/sbom.yml @@ -2,3 +2,14 @@ name: SBOM generation on: workflow_dispatch: + + +jobs: + generate_sbom: + runs-on: ubuntu-latest + steps: + - name: checkout + uses: actions/checkout@v4 + + - name: generate sbom + uses: CycloneDX/gh-php-composer-generate-sbom@v1 diff --git a/.github/workflows/trigger.yml b/.github/workflows/trigger.yml index 9c59b69..559a8c8 100644 --- a/.github/workflows/trigger.yml +++ b/.github/workflows/trigger.yml @@ -12,4 +12,4 @@ jobs: with: php: '8.0' mysql: '5.7.37' - report_sonarcloud: true \ No newline at end of file + report_sonarcloud: true diff --git a/composer.json b/composer.json index 45aee9a..ad749ee 100644 --- a/composer.json +++ b/composer.json @@ -4,6 +4,18 @@ "type": "oxideshop-module", "keywords": ["oxid", "modules", "eShop", "GraphQL"], "homepage": "https://www.oxid-esales.com", + "authors": [ + { + "name": "Marcel Manzel", + "email": "marcel.manzel@oxid-esales.com", + "role": "Developer" + }, + { + "name": "Anton Fedurtsya", + "email": "extern.anton.fedurtsya@oxid-esales.com", + "role": "Developer" + } + ], "license": ["proprietary"], "require": { "php": "^8.0", @@ -67,7 +79,8 @@ "config": { "allow-plugins": { "oxid-esales/oxideshop-unified-namespace-generator": true, - "oxid-esales/oxideshop-composer-plugin": true + "oxid-esales/oxideshop-composer-plugin": true, + "cyclonedx/cyclonedx-php-composer": true } } }