Skip to content
This repository has been archived by the owner on Feb 13, 2022. It is now read-only.

feat: Add passthrough option #12

Merged
merged 5 commits into from
Feb 24, 2020
Merged

feat: Add passthrough option #12

merged 5 commits into from
Feb 24, 2020

Conversation

Robdel12
Copy link
Contributor

@Robdel12 Robdel12 commented Feb 24, 2020

What is this?

This allows a user to use the exec-action to only set the Percy env vars. Then the user can run Percy however they wish later in their workflow. Shout out to @agrobbin for the idea!

I also took this chance to write a few env tests to ensure this is working properly (rather than relying on the Percy build)

This allows a user to use the exec-action to only set the Percy env vars that
are needed for things to work correctly. This also adds a few env var tests
This is because you _have_ to use a JS action (it seems, would love to be wrong)
to gather the branch name on PR workflows. So we'll rely on the Percy build
being correct in order to test this
src/index.js Outdated Show resolved Hide resolved
Copy link

@wwilsman wwilsman left a comment

Choose a reason for hiding this comment

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

🎮

@Robdel12 Robdel12 merged commit b02cfb2 into master Feb 24, 2020
@Robdel12 Robdel12 deleted the rd/passthrough branch February 24, 2020 21:35
@agrobbin
Copy link

This is awesome @Robdel12, thanks for the super-fast turnaround on this!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants