-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
action: flip
release-signing-artifacts
(#142)
Signed-off-by: William Woodruff <[email protected]>
- Loading branch information
Showing
2 changed files
with
8 additions
and
13 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -314,7 +314,7 @@ Example: | |
|
||
### `release-signing-artifacts` | ||
|
||
**Default**: `false` | ||
**Default**: `true` | ||
|
||
The `release-signing-artifacts` setting controls whether or not `sigstore-python` | ||
uploads signing artifacts to the release publishing event that triggered this run. | ||
|
@@ -323,8 +323,6 @@ This setting has no effect on non-`release` events. | |
If enabled, this setting also re-uploads and signs GitHub's default source code artifacts, | ||
as they are not guaranteed to be stable. | ||
|
||
By default, no release assets are uploaded. | ||
|
||
Requires the [`contents: write` permission](https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token). | ||
|
||
Example: | ||
|
@@ -342,19 +340,16 @@ permissions: | |
``` | ||
|
||
On release events, it is also valid to have no explicit inputs. When used on release | ||
events with `release-signing-artifacts: true`, this action will sign any pre-existing | ||
release artifacts: | ||
events, this action will sign any pre-existing release artifacts: | ||
|
||
```yaml | ||
permissions: | ||
contents: write | ||
# ... | ||
# no explicit settings needed, signs all pre-existing release artifacts | ||
- uses: sigstore/[email protected] | ||
with: | ||
# Only valid on release events | ||
release-signing-artifacts: true | ||
``` | ||
|
||
### Internal options | ||
|
This file contains 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