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 partial tests in CI and use native concurrency control #1199

Merged
merged 2 commits into from
Jul 11, 2022

Conversation

romainmenke
Copy link
Collaborator

@romainmenke romainmenke commented Jul 11, 2022

GitHub workflows have build in concurrency controls.
Using these means we can remove styfle/cancel-workflow-action and softprops/turnstyle. Two 3rd party actions that required access to secrets.

Partial tests seem to have broken a while back because the checkout step no longer fetched https://github.com/Financial-Times/polyfill-library/tree/master/. This is required to determine the diff.

update : maybe this was done because GITHUB_REF was no longer valid when workflows run with a pull_request event. The JS has been updated so that it works for any trigger.

I've added a fetch depth of 50 which is much larger than usual pull requests will require but still smaller than fetching everything.

@romainmenke romainmenke requested a review from a team as a code owner July 11, 2022 16:19
@origamiserviceuser origamiserviceuser added this to Backlog in Origami ✨ Jul 11, 2022
@github-actions github-actions bot added the library Relates to an Origami library label Jul 11, 2022
@romainmenke romainmenke force-pushed the fix-partial-tests-in-ci--amiable-ant-a67b57f843 branch from de17172 to 55e2e1f Compare July 11, 2022 16:31
@romainmenke romainmenke force-pushed the fix-partial-tests-in-ci--amiable-ant-a67b57f843 branch from 55e2e1f to d03c676 Compare July 11, 2022 20:50
@romainmenke romainmenke enabled auto-merge (squash) July 11, 2022 21:14
@romainmenke romainmenke merged commit 4eddbfa into master Jul 11, 2022
@romainmenke romainmenke deleted the fix-partial-tests-in-ci--amiable-ant-a67b57f843 branch July 11, 2022 21:52
Origami ✨ automation moved this from Backlog to Done Jul 11, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 12, 2023
@robertboulton robertboulton removed this from Done in Origami ✨ Jul 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
library Relates to an Origami library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants