Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix!: always resolve SHA against provided main branch #64

Merged
merged 6 commits into from
Sep 8, 2022

Conversation

meeroslav
Copy link
Collaborator

@meeroslav meeroslav commented Sep 6, 2022

Includes first set of tests.

Includes #52 necessary for checks on push.
This results in unfortunate breaking changes for some folks (#57 (comment))

The test set should be expanded later to ensure we check different scenarios.
This is to be investigated as it might need to include a controlled git sub repo.

Related to #62

BREAKING CHANGE

@meeroslav meeroslav force-pushed the add-tests branch 9 times, most recently from 0577f5e to e3eb1d0 Compare September 6, 2022 13:33
@meeroslav meeroslav requested a review from JamesHenry September 6, 2022 14:16
@meeroslav meeroslav marked this pull request as ready for review September 6, 2022 14:17
@meeroslav meeroslav changed the title chore: add test workflow WIP chore: add test workflow Sep 6, 2022
fetch-depth: 0

- name: Derive appropriate SHAs for base and head for `nx affected` commands
uses: nrwl/nx-set-shas@v2
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we reference the action locally instead of by version number here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Oh, yes, we should

README.md Outdated
@@ -128,6 +128,7 @@ On a CI system that runs on submitted PRs, we determine what commits to include

But what if we want to set up a continuous deployment system
that, as changes get pushed to `master`, builds and deploys
only the affected projects?
Copy link
Collaborator

Choose a reason for hiding this comment

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

What's up with the newlines within this paragraph? :)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

That got lost on another commit. I have fixed it on main and rebased to this PR

@JamesHenry JamesHenry changed the title chore: add test workflow fix!: always resolve SHA against provided main branch Sep 8, 2022
Copy link
Collaborator

@JamesHenry JamesHenry left a comment

Choose a reason for hiding this comment

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

LGTM!

@JamesHenry JamesHenry merged commit 8b116da into nrwl:main Sep 8, 2022
@JamesHenry JamesHenry mentioned this pull request Sep 8, 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.

2 participants