Skip to content

Commit

Permalink
OXDEV-7301: Add test workflow for cyclonedx sbom generation
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcelOxid authored and angel-dimitrov committed Feb 16, 2024
1 parent d010804 commit e605b64
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 2 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/sbom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ jobs:
with:
php: '8.0'
mysql: '5.7.37'
report_sonarcloud: true
report_sonarcloud: true
15 changes: 14 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,18 @@
"type": "oxideshop-module",
"keywords": ["oxid", "modules", "eShop", "GraphQL"],
"homepage": "https://www.oxid-esales.com",
"authors": [
{
"name": "Marcel Manzel",
"email": "[email protected]",
"role": "Developer"
},
{
"name": "Anton Fedurtsya",
"email": "[email protected]",
"role": "Developer"
}
],
"license": ["proprietary"],
"require": {
"php": "^8.0",
Expand Down Expand Up @@ -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
}
}
}

0 comments on commit e605b64

Please sign in to comment.