Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Checkout PR head for strict error checker#10112

Merged
Johennes merged 3 commits intodevelopfrom
johannes/ts-strict-checkout-pr
Feb 8, 2023
Merged

Checkout PR head for strict error checker#10112
Johennes merged 3 commits intodevelopfrom
johannes/ts-strict-checkout-pr

Conversation

@Johennes
Copy link
Copy Markdown
Contributor

@Johennes Johennes commented Feb 8, 2023

On #10083 I currently have the issue that the typescript strict check fails complaining about violations in files that I didn't touch in the PR. I think this is because by default the checkout action checks out the repository's default branch and then merges the PR branch into it before running the checks. This might be desirable in other contexts but I think for the strict mode checks we really just care about issues in files that the PR actually touched.


This change is marked as an internal change (Task), so will not be included in the changelog.

@Johennes Johennes requested a review from a team as a code owner February 8, 2023 12:13
@Johennes Johennes requested review from germain-gg and t3chguy and removed request for germain-gg February 8, 2023 12:13
@Johennes Johennes added the T-Task Refactoring, enabling or disabling functionality, other engineering tasks label Feb 8, 2023
@Johennes
Copy link
Copy Markdown
Contributor Author

Johennes commented Feb 8, 2023

Hm, I guess I'm not sure why the jobs are failing here. 🤔 Will need to look into this later. Making this a draft for now.

@Johennes Johennes marked this pull request as draft February 8, 2023 13:26
@t3chguy
Copy link
Copy Markdown
Member

t3chguy commented Feb 8, 2023

@Johennes because you didn't run prettier.

[warn] .github/workflows/static_analysis.yaml
[warn] Code style issues found in the above file. Forgot to run Prettier?

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
@Johennes Johennes marked this pull request as ready for review February 8, 2023 15:41
@Johennes Johennes merged commit 4269282 into develop Feb 8, 2023
@Johennes Johennes deleted the johannes/ts-strict-checkout-pr branch February 8, 2023 15:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

T-Task Refactoring, enabling or disabling functionality, other engineering tasks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants