code: func (Pipe) Run(ctx *context.Context) error {
  	if ctx.SkipSign {
  		return pipe.ErrSkipSignEnabled
  	}
  
  	switch ctx.Config.Sign.Artifacts {
  	case "checksum":
  		return sign(ctx, ctx.Artifacts.Filter(artifact.ByType(artifact.Checksum)).List())
  	case "all":
  		return sign(ctx, ctx.Artifacts.Filter(
  			artifact.Or(
  				artifact.ByType(artifact.UploadableArchive),
  				artifact.ByType(artifact.UploadableBinary),
  				artifact.ByType(artifact.Checksum),
  				artifact.ByType(artifact.LinuxPackage),
  			)).List())
  	case "none":
  		return pipe.ErrSkipSignEnabled
  	default:
  		return fmt.Errorf("invalid list of artifacts to sign: %s", ctx.Config.Sign.Artifacts)
  	}
  }
docs: // Run executes the Pipe.