diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index e79db27..87d51e0 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -5,5 +5,6 @@ jobs: ci: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v2 - uses: ./.github/workflows/check - uses: ./.github/workflows/integration diff --git a/pkg/runner/step.go b/pkg/runner/step.go index 1a6439c..f2d5bee 100644 --- a/pkg/runner/step.go +++ b/pkg/runner/step.go @@ -55,6 +55,12 @@ func (rc *RunContext) newStepExecutor(step *model.Step) common.Executor { ) case model.StepTypeUsesActionRemote: remoteAction := newRemoteAction(step.Uses) + if remoteAction.Org == "actions" && remoteAction.Repo == "checkout" { + return func(ctx context.Context) error { + common.Logger(ctx).Debugf("Skipping actions/checkout") + return nil + } + } cloneDir, err := ioutil.TempDir(rc.Tempdir, remoteAction.Repo) if err != nil { return common.NewErrorExecutor(err)