Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ its attestations against a policy.
#### Usage

```yaml
- uses: carabiner-dev/actions/ampel/verify@e0e3b8149dafed833431095bc148d50e7eade4e8 # v1.2.0
- uses: carabiner-dev/actions/ampel/verify@94f29392187fe5082d1195a7d4cae3a7ddf09d9c # v1.2.1
with:
policy: 'path/to/policy.yaml' # URI or path to policy code
subject: 'path/to/artifact' # or digest, eg sha256:98349875bf3e09...
Expand Down Expand Up @@ -45,7 +45,7 @@ its attestations against a policy.
**Basic verification:**

```yaml
- uses: carabiner-dev/actions/ampel/verify@e0e3b8149dafed833431095bc148d50e7eade4e8 # v1.2.0
- uses: carabiner-dev/actions/ampel/verify@94f29392187fe5082d1195a7d4cae3a7ddf09d9c # v1.2.1
with:
policy: '.ampel/policy.yaml'
subject: 'path/to/binary'
Expand All @@ -55,7 +55,7 @@ its attestations against a policy.
**Verification with custom attestations:**

```yaml
- uses: carabiner-dev/actions/ampel/verify@e0e3b8149dafed833431095bc148d50e7eade4e8 # v1.2.0
- uses: carabiner-dev/actions/ampel/verify@94f29392187fe5082d1195a7d4cae3a7ddf09d9c # v1.2.1
with:
policy: '.ampel/policy.yaml'
subject: 'sha256:abc123...'
Expand All @@ -67,7 +67,7 @@ its attestations against a policy.
**Verification with attestation push:**

```yaml
- uses: carabiner-dev/actions/ampel/verify@e0e3b8149dafed833431095bc148d50e7eade4e8 # v1.2.0
- uses: carabiner-dev/actions/ampel/verify@94f29392187fe5082d1195a7d4cae3a7ddf09d9c # v1.2.1
with:
policy: '.ampel/policy.yaml'
subject: 'path/to/artifact'
Expand All @@ -80,7 +80,7 @@ its attestations against a policy.
**Verification without failing the workflow:**

```yaml
- uses: carabiner-dev/actions/ampel/verify@e0e3b8149dafed833431095bc148d50e7eade4e8 # v1.2.0
- uses: carabiner-dev/actions/ampel/verify@94f29392187fe5082d1195a7d4cae3a7ddf09d9c # v1.2.1
with:
policy: '.ampel/policy.yaml'
subject: 'path/to/artifact'
Expand All @@ -98,7 +98,7 @@ codebase IDs.
#### Usage

```yaml
- uses: carabiner-dev/actions/unpack/sbom@e0e3b8149dafed833431095bc148d50e7eade4e8 # v1.2.0
- uses: carabiner-dev/actions/unpack/sbom@94f29392187fe5082d1195a7d4cae3a7ddf09d9c # v1.2.1
with:
ecosystems: |
golang
Expand Down
14 changes: 7 additions & 7 deletions go/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ used internally by `go/check-latest` and `go/check-previous`.
```yaml
- name: Resolve Go versions
id: go-versions
uses: carabiner-dev/actions/go/versions@e0e3b8149dafed833431095bc148d50e7eade4e8 # v1.2.0
uses: carabiner-dev/actions/go/versions@94f29392187fe5082d1195a7d4cae3a7ddf09d9c # v1.2.1

- name: Set up Go
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
Expand All @@ -55,13 +55,13 @@ doesn't match.
### Usage

```yaml
- uses: carabiner-dev/actions/go/check-latest@e0e3b8149dafed833431095bc148d50e7eade4e8 # v1.2.0
- uses: carabiner-dev/actions/go/check-latest@94f29392187fe5082d1195a7d4cae3a7ddf09d9c # v1.2.1
```

With a custom go.mod path:

```yaml
- uses: carabiner-dev/actions/go/check-latest@e0e3b8149dafed833431095bc148d50e7eade4e8 # v1.2.0
- uses: carabiner-dev/actions/go/check-latest@94f29392187fe5082d1195a7d4cae3a7ddf09d9c # v1.2.1
with:
go-mod-path: 'src/go.mod'
```
Expand Down Expand Up @@ -89,7 +89,7 @@ error message if the version doesn't match.
### Usage

```yaml
- uses: carabiner-dev/actions/go/check-previous@e0e3b8149dafed833431095bc148d50e7eade4e8 # v1.2.0
- uses: carabiner-dev/actions/go/check-previous@94f29392187fe5082d1195a7d4cae3a7ddf09d9c # v1.2.1
```

On failure, the action produces an error like:
Expand Down Expand Up @@ -118,13 +118,13 @@ Go is already installed on the runner (e.g. via `actions/setup-go`).
with:
go-version-file: 'go.mod'

- uses: carabiner-dev/actions/go/modtidy@e0e3b8149dafed833431095bc148d50e7eade4e8 # v1.2.0
- uses: carabiner-dev/actions/go/modtidy@94f29392187fe5082d1195a7d4cae3a7ddf09d9c # v1.2.1
```

With a custom working directory:

```yaml
- uses: carabiner-dev/actions/go/modtidy@e0e3b8149dafed833431095bc148d50e7eade4e8 # v1.2.0
- uses: carabiner-dev/actions/go/modtidy@94f29392187fe5082d1195a7d4cae3a7ddf09d9c # v1.2.1
with:
working-directory: 'src'
```
Expand All @@ -149,7 +149,7 @@ jobs:
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- id: go-versions
uses: carabiner-dev/actions/go/versions@e0e3b8149dafed833431095bc148d50e7eade4e8 # v1.2.0
uses: carabiner-dev/actions/go/versions@94f29392187fe5082d1195a7d4cae3a7ddf09d9c # v1.2.1
- id: matrix
run: |
echo "go-versions=[\"${{ steps.go-versions.outputs.GO_VERSION_STABLE }}\",\"${{ steps.go-versions.outputs.GO_VERSION_PREVIOUS }}\"]" >> "$GITHUB_OUTPUT"
Expand Down
6 changes: 3 additions & 3 deletions slsa/generate/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
contents: read
actions: read # Read run metadata and artifacts
steps:
- uses: carabiner-dev/actions/slsa/generate@e0e3b8149dafed833431095bc148d50e7eade4e8 # v1.2.0
- uses: carabiner-dev/actions/slsa/generate@94f29392187fe5082d1195a7d4cae3a7ddf09d9c # v1.2.1
```

### Watch specific jobs
Expand All @@ -69,7 +69,7 @@ jobs:
contents: read
actions: read
steps:
- uses: carabiner-dev/actions/slsa/generate@e0e3b8149dafed833431095bc148d50e7eade4e8 # v1.2.0
- uses: carabiner-dev/actions/slsa/generate@94f29392187fe5082d1195a7d4cae3a7ddf09d9c # v1.2.1
with:
watch-jobs: "build, integration-tests"
```
Expand All @@ -84,7 +84,7 @@ jobs:
contents: read
actions: read
steps:
- uses: carabiner-dev/actions/slsa/generate@e0e3b8149dafed833431095bc148d50e7eade4e8 # v1.2.0
- uses: carabiner-dev/actions/slsa/generate@94f29392187fe5082d1195a7d4cae3a7ddf09d9c # v1.2.1
with:
artifacts: "oci://ghcr.io/my-org/my-image"
dependencies: "git+https://github.com/my-org/my-lib@abc123def"
Expand Down
16 changes: 8 additions & 8 deletions unpack/sbom/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ format.
## Usage

```yaml
- uses: carabiner-dev/actions/unpack/sbom@e0e3b8149dafed833431095bc148d50e7eade4e8 # v1.2.0
- uses: carabiner-dev/actions/unpack/sbom@94f29392187fe5082d1195a7d4cae3a7ddf09d9c # v1.2.1
```

That's it. With no inputs, the action will:
Expand Down Expand Up @@ -73,15 +73,15 @@ When the CycloneDX format is used, the extension is `.cdx.json` instead of `.spd
```yaml
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- uses: carabiner-dev/actions/unpack/sbom@e0e3b8149dafed833431095bc148d50e7eade4e8 # v1.2.0
- uses: carabiner-dev/actions/unpack/sbom@94f29392187fe5082d1195a7d4cae3a7ddf09d9c # v1.2.1
```

### Generate only for Go and npm ecosystems

```yaml
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- uses: carabiner-dev/actions/unpack/sbom@e0e3b8149dafed833431095bc148d50e7eade4e8 # v1.2.0
- uses: carabiner-dev/actions/unpack/sbom@94f29392187fe5082d1195a7d4cae3a7ddf09d9c # v1.2.1
with:
ecosystems: |
golang
Expand All @@ -93,7 +93,7 @@ steps:
```yaml
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- uses: carabiner-dev/actions/unpack/sbom@e0e3b8149dafed833431095bc148d50e7eade4e8 # v1.2.0
- uses: carabiner-dev/actions/unpack/sbom@94f29392187fe5082d1195a7d4cae3a7ddf09d9c # v1.2.1
with:
codebases: |
golang:.
Expand All @@ -105,7 +105,7 @@ steps:
```yaml
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- uses: carabiner-dev/actions/unpack/sbom@e0e3b8149dafed833431095bc148d50e7eade4e8 # v1.2.0
- uses: carabiner-dev/actions/unpack/sbom@94f29392187fe5082d1195a7d4cae3a7ddf09d9c # v1.2.1
with:
format: cyclonedx
files: 'true'
Expand All @@ -117,7 +117,7 @@ steps:
```yaml
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- uses: carabiner-dev/actions/unpack/sbom@e0e3b8149dafed833431095bc148d50e7eade4e8 # v1.2.0
- uses: carabiner-dev/actions/unpack/sbom@94f29392187fe5082d1195a7d4cae3a7ddf09d9c # v1.2.1
with:
ignore: |
vendor
Expand All @@ -130,7 +130,7 @@ steps:
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3

- uses: carabiner-dev/actions/unpack/sbom@e0e3b8149dafed833431095bc148d50e7eade4e8 # v1.2.0
- uses: carabiner-dev/actions/unpack/sbom@94f29392187fe5082d1195a7d4cae3a7ddf09d9c # v1.2.1
with:
output-path: /tmp
push-to-release: ${{ steps.tag.outputs.tag_name }}
Expand All @@ -144,7 +144,7 @@ steps:
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3

- uses: carabiner-dev/actions/unpack/sbom@e0e3b8149dafed833431095bc148d50e7eade4e8 # v1.2.0
- uses: carabiner-dev/actions/unpack/sbom@94f29392187fe5082d1195a7d4cae3a7ddf09d9c # v1.2.1
id: sbom
with:
output-path: sboms/
Expand Down
Loading