Skip to content

Commit

Permalink
chore(ci): implement code scanning (#15)
Browse files Browse the repository at this point in the history
Implement PR code scanning and SBOM on release.
  • Loading branch information
jscaltreto authored Jan 23, 2024
1 parent fe1c00f commit ef7b8ad
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/git-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ name: Create Release
jobs:
create-git-release:
runs-on: ubuntu-latest
outputs:
release-tag: v${{ steps.get-version.outputs.version }}
steps:
- uses: actions/checkout@v3

Expand Down Expand Up @@ -43,7 +45,7 @@ jobs:
echo "::set-output name=latestSection::$release_message"
echo "$release_message"
- id: get-version
run: echo "::set-output name=version::$(cat $VERSION_FILE)"

Expand All @@ -59,3 +61,9 @@ jobs:
tag_name: v${{ steps.get-version.outputs.version }}
release_name: v${{ steps.get-version.outputs.version }}
body_path: unescaped-release-notes.md

release-sbom:
needs: create-git-release
uses: circlefin/circle-public-github-workflows/.github/workflows/attach-release-assets.yaml@v1
with:
release_tag: ${{ needs.create-git-release.outputs.release-tag }}

0 comments on commit ef7b8ad

Please sign in to comment.