Skip to content

Commit f514d46

Browse files
authored
Prep 3.0.0 (#143)
1 parent da238ad commit f514d46

File tree

2 files changed

+78
-14
lines changed

2 files changed

+78
-14
lines changed

CHANGELOG.md

+64
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
# Changelog
2+
3+
All notable changes to `gh-action-sigstore-python` will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
6+
7+
All versions prior to 3.0.0 are untracked.
8+
9+
## [Unreleased]
10+
11+
## [3.0.0]
12+
13+
### Added
14+
15+
* `inputs` now allows recursive globbing with `**`
16+
([#106](https://github.com./sigstore/gh-action-sigstore-python/pull/106))
17+
18+
### Removed
19+
20+
* The following settings have been removed: `fulcio-url`, `rekor-url`,
21+
`ctfe`, `rekor-root-pubkey`
22+
([#140](https://github.com./sigstore/gh-action-sigstore-python/pull/140))
23+
* The following output settings have been removed: `signature`,
24+
`certificate`, `bundle`
25+
([#146](https://github.com./sigstore/gh-action-sigstore-python/pull/146))
26+
27+
28+
### Changed
29+
30+
* `inputs` is now parsed according to POSIX shell lexing rules, improving
31+
the action's consistency when used with filenames containing whitespace
32+
or other significant characters
33+
([#104](https://github.com./sigstore/gh-action-sigstore-python/pull/104))
34+
35+
* `inputs` is now optional *if* `release-signing-artifacts` is true
36+
*and* the action's event is a `release` event. In this case, the action
37+
takes no explicit inputs, but signs the source archives already attached
38+
to the associated release
39+
([#110](https://github.com./sigstore/gh-action-sigstore-python/pull/110))
40+
41+
* The default suffix has changed from `.sigstore` to `.sigstore.json`,
42+
per Sigstore's client specification
43+
([#140](https://github.com./sigstore/gh-action-sigstore-python/pull/140))
44+
45+
* `release-signing-artifacts` now defaults to `true`
46+
([#142](https://github.com./sigstore/gh-action-sigstore-python/pull/142))
47+
48+
### Fixed
49+
50+
* The `release-signing-artifacts` setting no longer causes a hard error
51+
when used under the incorrect event
52+
([#103](https://github.com./sigstore/gh-action-sigstore-python/pull/103))
53+
54+
* Various deprecations present in `sigstore-python`'s 2.x series have been
55+
resolved
56+
([#140](https://github.com./sigstore/gh-action-sigstore-python/pull/140))
57+
58+
* This workflow now supports CI runners that use PEP 668 to constrain global
59+
package prefixes
60+
([#145](https://github.com./sigstore/gh-action-sigstore-python/pull/145))
61+
62+
63+
[Unreleased]: https://github.com./sigstore/gh-action-sigstore-python/compare/v3.0.0...HEAD
64+
[3.0.0]: https://github.com./sigstore/gh-action-sigstore-python/compare/v2.1.1...v3.0.0

README.md

+14-14
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- uses: actions/checkout@v3
3030
- name: install
3131
run: python -m pip install .
32-
- uses: sigstore/gh-action-sigstore-python@v2.1.1
32+
- uses: sigstore/gh-action-sigstore-python@v3.0.0
3333
with:
3434
inputs: file.txt
3535
```
@@ -53,15 +53,15 @@ provided unless [release-signing-artifacts](#release-signing-artifacts) is set t
5353
To sign one or more files:
5454

5555
```yaml
56-
- uses: sigstore/gh-action-sigstore-python@v2.1.1
56+
- uses: sigstore/gh-action-sigstore-python@v3.0.0
5757
with:
5858
inputs: file0.txt file1.txt file2.txt
5959
```
6060

6161
The `inputs` argument also supports file globbing:
6262

6363
```yaml
64-
- uses: sigstore/gh-action-sigstore-python@v2.1.1
64+
- uses: sigstore/gh-action-sigstore-python@v3.0.0
6565
with:
6666
inputs: ./path/to/inputs/*.txt
6767
```
@@ -70,7 +70,7 @@ Multiple lines are fine, and whitespace in filenames can also be escaped using
7070
POSIX shell lexing rules:
7171

7272
```yaml
73-
- uses: sigstore/gh-action-sigstore-python@v2.1.1
73+
- uses: sigstore/gh-action-sigstore-python@v3.0.0
7474
with:
7575
inputs: |
7676
./path/to/inputs/*.txt
@@ -90,7 +90,7 @@ The `identity-token` setting controls the OpenID Connect token provided to Fulci
9090
workflow will use the credentials found in the GitHub Actions environment.
9191

9292
```yaml
93-
- uses: sigstore/gh-action-sigstore-python@v2.1.1
93+
- uses: sigstore/gh-action-sigstore-python@v3.0.0
9494
with:
9595
inputs: file.txt
9696
identity-token: ${{ IDENTITY_TOKEN }} # assigned elsewhere
@@ -106,7 +106,7 @@ Server during OAuth2.
106106
Example:
107107

108108
```yaml
109-
- uses: sigstore/gh-action-sigstore-python@v2.1.1
109+
- uses: sigstore/gh-action-sigstore-python@v3.0.0
110110
with:
111111
inputs: file.txt
112112
oidc-client-id: alternative-sigstore-id
@@ -122,7 +122,7 @@ Connect Server during OAuth2.
122122
Example:
123123

124124
```yaml
125-
- uses: sigstore/gh-action-sigstore-python@v2.1.1
125+
- uses: sigstore/gh-action-sigstore-python@v3.0.0
126126
with:
127127
inputs: file.txt
128128
oidc-client-secret: alternative-sigstore-secret
@@ -138,7 +138,7 @@ instead of the default production instances.
138138
Example:
139139

140140
```yaml
141-
- uses: sigstore/gh-action-sigstore-python@v2.1.1
141+
- uses: sigstore/gh-action-sigstore-python@v3.0.0
142142
with:
143143
inputs: file.txt
144144
staging: true
@@ -161,7 +161,7 @@ and `verify-oidc-issuer` settings. Failing to pass these will produce an error.
161161
Example:
162162

163163
```yaml
164-
- uses: sigstore/gh-action-sigstore-python@v2.1.1
164+
- uses: sigstore/gh-action-sigstore-python@v3.0.0
165165
with:
166166
inputs: file.txt
167167
verify: true
@@ -184,7 +184,7 @@ This setting may only be used in conjunction with `verify-oidc-issuer`.
184184
Supplying it without `verify-oidc-issuer` will produce an error.
185185

186186
```yaml
187-
- uses: sigstore/gh-action-sigstore-python@v2.1.1
187+
- uses: sigstore/gh-action-sigstore-python@v3.0.0
188188
with:
189189
inputs: file.txt
190190
verify: true
@@ -209,7 +209,7 @@ Supplying it without `verify-cert-identity` will produce an error.
209209
Example:
210210

211211
```yaml
212-
- uses: sigstore/gh-action-sigstore-python@v2.1.1
212+
- uses: sigstore/gh-action-sigstore-python@v3.0.0
213213
with:
214214
inputs: file.txt
215215
verify: true
@@ -231,7 +231,7 @@ workflow artifact retention period is used.
231231
Example:
232232

233233
```yaml
234-
- uses: sigstore/gh-action-sigstore-python@v2.1.1
234+
- uses: sigstore/gh-action-sigstore-python@v3.0.0
235235
with:
236236
inputs: file.txt
237237
upload-signing-artifacts: true
@@ -258,7 +258,7 @@ permissions:
258258
259259
# ...
260260
261-
- uses: sigstore/gh-action-sigstore-python@v2.1.1
261+
- uses: sigstore/gh-action-sigstore-python@v3.0.0
262262
with:
263263
inputs: file.txt
264264
release-signing-artifacts: true
@@ -298,7 +298,7 @@ permissions:
298298
Example:
299299

300300
```yaml
301-
- uses: sigstore/gh-action-sigstore-python@v2.1.1
301+
- uses: sigstore/gh-action-sigstore-python@v3.0.0
302302
with:
303303
inputs: file.txt
304304
internal-be-careful-debug: true

0 commit comments

Comments
 (0)