Skip to content

Commit

Permalink
fix: remove code added during rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
KnisterPeter authored and github-actions committed May 24, 2022
1 parent 69eeddb commit 35947d8
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions pkg/runner/action.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,13 +179,6 @@ func runActionImpl(step actionStep, actionDir string, remoteAction *remoteAction
return err
}

// Disable some features of composite actions, only for feature parity with github
for _, compositeStep := range action.Runs.Steps {
if err := compositeStep.Validate(rc.Config.CompositeRestrictions); err != nil {
return err
}
}

return execAsComposite(step)(ctx)
default:
return fmt.Errorf(fmt.Sprintf("The runs.using key must be one of: %v, got %s", []string{
Expand Down

0 comments on commit 35947d8

Please sign in to comment.