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