Skip to content

Commit

Permalink
Don't sign matrix steps (yet)
Browse files Browse the repository at this point in the history
  • Loading branch information
moskyb committed Jul 25, 2023
1 parent 14df6e0 commit 6833fb0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions internal/pipeline/steps.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,11 @@ func (s Steps) sign(signer Signer) error {
for _, step := range s {
switch step := step.(type) {
case *CommandStep:
if _, ok := step.RemainingFields["matrix"]; ok {
// Don't sign matrix steps... yet
continue
}

sig, err := Sign(step, signer)
if err != nil {
return fmt.Errorf("signing step with command %q: %w", step.Command, err)
Expand Down

0 comments on commit 6833fb0

Please sign in to comment.