Skip to content

Conversation

@hisaac
Copy link
Contributor

@hisaac hisaac commented Jul 14, 2022

Checklist

  • I've read and followed the Contribution Guidelines
  • step.yml and README.md is updated with the changes (if needed)

Version

Seems like a MINOR bump would be appropriate.

Context

@russellbstephens and I were working on the e2e tests of a new step that he's building, and we wanted to do a git clone as a part of one of his e2e tests. We wanted to specify the clone depth, which isn't an option on the simple-git-clone, so we switched over to use this Step instead.

We noticed when trying to run it locally that it kept skipping, and it turns out it's because the Step is set to only be run in CI.

From some discussion in Slack, it sounds like this Step is generally intended to be used in CI, but I think there are instances where we'd want to be able to run it locally. I don't believe it needs to be restricted here.

(fwiw, I know there are workarounds, but I still think this would be a good change so workarounds aren't needed.)

Changes

  • Removes the run_if: .IsCI property from the step's step.yml file.

Copy link

@russellbstephens russellbstephens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this PR is 💯 an undoable decision - lets merge

@hisaac hisaac merged commit e50e62a into master Jul 14, 2022
@hisaac hisaac deleted the allow-running-on-non-ci branch July 14, 2022 18:22
hisaac added a commit that referenced this pull request Jul 15, 2022
hisaac added a commit that referenced this pull request Jul 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants