Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.
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
1 change: 1 addition & 0 deletions src/workflow/event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ pub struct WorkflowCallOutput {
#[serde(rename_all = "kebab-case")]
pub struct WorkflowCallSecret {
pub description: Option<String>,
#[serde(default)]
pub required: bool,
}

Expand Down
15 changes: 15 additions & 0 deletions tests/sample-workflows/zizmor-issue-646.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# https://github.com/woodruffw/zizmor/issues/646

name: Test

on:
workflow_call:
secrets:
my-secret:
description: My secret

jobs:
job:
runs-on: ubuntu-latest
steps:
- run: echo ${{ secrets.my-secret }}
Loading