Releases: embold/github-action-docker
Releases · embold/github-action-docker
Snapshot Label Support
What's New
✨ New Input: snapshotLabel
You can now tag each scan with a custom snapshot label that appears on the Embold UI after a successful analysis.
Input: snapshotLabel (optional, default: empty)
Accepts a plain string or any environment variable, making it easy to tie a snapshot to a branch name, commit SHA, or any other runtime value.
Example:
```yaml
- name: Run Embold Scan
uses: embold/github-action-docker@v2.0.0
with:
emboldUrl: https://packages.embold.io/
emboldToken: ${{ secrets.EMBOLD_TOKEN }}
emboldRepoUid: ${{ secrets.EMBOLD_REPO_UID }}
snapshotLabel: ${{ github.ref_name }}-${{ github.sha }}
```
This passes -s <label> to the embold-scanner analyse command only when a non-empty value is provided, so existing workflows are unaffected.
Full Changelog
- Added
snapshotLabelinput toaction.yml - Updated
README.mdwith input documentation and usage example
Embold Github Actions
Embold helps you find security vulnerabilities, code issues, design anti patterns, duplication and metrics in your source code
Embold Github Actions
Embold helps you find security vulnerabilities, code issues, design anti patterns, duplication and metrics in your source code
The first cut
v0.1 updated README