You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Auths Verify Action
2
2
3
-
Verify commit signatures using [Auths](https://github.com/auths-dev/auths)identity keys. Ensures every commit in a PR or push is cryptographically signed by an authorized developer.
3
+
Verify commit signatures using [Auths](https://github.com/auths-dev/auths)token keys. Ensures every commit in a PR or push is cryptographically signed by an authorized developer.
4
4
5
5
## Quickstart
6
6
@@ -11,7 +11,7 @@ Verify commit signatures using [Auths](https://github.com/auths-dev/auths) ident
11
11
- uses: auths-dev/verify@v1
12
12
```
13
13
14
-
That's it. The action auto-detects the commit range from the GitHub event (PR or push), downloads the `auths` CLI, and verifies each commit. Identity is auto-detected from the `identity` input (defaults to `.auths/allowed_signers`).
14
+
That's it. The action auto-detects the commit range from the GitHub event (PR or push), downloads the `auths` CLI, and verifies each commit. Identity is auto-detected from the `token` input (defaults to `.auths/allowed_signers`).
15
15
16
16
## Features
17
17
@@ -29,18 +29,18 @@ That's it. The action auto-detects the commit range from the GitHub event (PR or
29
29
30
30
| Input | Description | Required | Default |
31
31
|-------|-------------|----------|---------|
32
-
| `identity` | Identity for verification. Accepts: CI token JSON, identity bundle JSON, file path to bundle, or path to allowed_signers file | No | `.auths/allowed_signers` (auto) |
33
-
| `commit-range` | Git commit range to verify (e.g. `HEAD~5..HEAD`) | No | Auto-detected from event |
32
+
| `token` | Identity for verification. Accepts: CI token JSON, identity bundle JSON, file path to bundle, or path to allowed_signers file | No | `.auths/allowed_signers` (auto) |
33
+
| `commits` | Git commit range to verify (e.g. `HEAD~5..HEAD`) | No | Auto-detected from event |
34
34
| `auths-version` | Auths CLI version to use (e.g. `0.5.0`) | No | `''` (latest) |
35
35
| `fail-on-unsigned` | Whether to fail the action if unsigned commits are found | No | `true` |
36
36
| `skip-merge-commits` | Whether to skip merge commits during verification | No | `true` |
37
37
| `post-pr-comment` | Post a PR comment with results and fix instructions (requires `pull-requests: write`) | No | `false` |
38
38
| `github-token` | GitHub token for posting the PR comment (required when `post-pr-comment: true`) | No | `''` |
39
-
| `artifact-paths` | Glob patterns for artifact files to verify, one per line | No | `''` |
39
+
| `files` | Glob patterns for artifact files to verify, one per line | No | `''` |
| `fail-on-unattested` | Fail the action if any artifact lacks a valid attestation | No | `true` |
42
42
43
-
The `identity` input auto-detects the format. When empty, it defaults to the `.auths/allowed_signers` file. When only `artifact-paths` is set with an identity bundle, commit verification is skipped automatically.
43
+
The `token` input auto-detects the format. When empty, it defaults to the `.auths/allowed_signers` file. When only `files` is set with an identity bundle, commit verification is skipped automatically.
44
44
45
45
## Outputs
46
46
@@ -54,11 +54,11 @@ The `identity` input auto-detects the format. When empty, it defaults to the `.a
54
54
55
55
## Verification Modes
56
56
57
-
The `identity` input auto-detects the format:
57
+
The `token` input auto-detects the format:
58
58
59
59
### Allowed Signers File (default)
60
60
61
-
Commit the team's public keys to your repo. When `identity` is empty, the action looks for `.auths/allowed_signers`:
61
+
Commit the team's public keys to your repo. When `token` is empty, the action looks for `.auths/allowed_signers`:
62
62
63
63
```
64
64
# .auths/allowed_signers
@@ -75,7 +75,7 @@ Or pass a custom path:
75
75
```yaml
76
76
- uses: auths-dev/verify@v1
77
77
with:
78
-
identity: 'path/to/allowed_signers'
78
+
token: 'path/to/allowed_signers'
79
79
```
80
80
81
81
### Identity Bundle (stateless CI)
@@ -92,15 +92,15 @@ Then pass the secret directly — the action detects the JSON format automatical
92
92
```yaml
93
93
- uses: auths-dev/verify@v1
94
94
with:
95
-
identity: ${{ secrets.AUTHS_IDENTITY_BUNDLE }}
95
+
token: ${{ secrets.AUTHS_IDENTITY_BUNDLE }}
96
96
```
97
97
98
98
Or commit the bundle (it contains only public data) and reference the file:
0 commit comments