[PPSC-718] feat(scan): add inline armis:ignore comment suppression #358
This file contains hidden or 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
| name: Release Snapshot | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| - master | |
| paths: | |
| - "**.go" | |
| - "go.mod" | |
| - "go.sum" | |
| - ".goreleaser.yaml" | |
| - ".github/workflows/release*.yml" | |
| permissions: | |
| contents: read | |
| jobs: | |
| goreleaser: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Go | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version: "1.25" | |
| cache: true | |
| - name: Install Syft | |
| uses: anchore/sbom-action/download-syft@v0.24.0 | |
| - name: Run GoReleaser (Snapshot) | |
| uses: goreleaser/goreleaser-action@v7 | |
| with: | |
| distribution: goreleaser | |
| version: latest | |
| args: release --snapshot --clean --skip=sign | |
| - name: Upload snapshot artifacts | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: snapshot-artifacts | |
| path: | | |
| dist/*.tar.gz | |
| dist/*.zip | |
| dist/*checksums.txt | |
| retention-days: 3 |