Merge branch '0.3.5' into 'main' #7
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Generate SBOM | |
uses: CycloneDX/gh-python-generate-sbom@v2 | |
with: | |
input: ./requirements.txt | |
output: ./bom.json | |
format: json | |
- name: Upload SBOM artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: SBOM | |
path: ./bom.json | |
- name: Commit SBOM to repo | |
run: | | |
git config --local user.email "action@github.com" | |
git config --local user.name "GitHub Action" | |
git add bom.json | |
git commit -m "Adding SBOM" | |
git push | |