Skip to content

[7.x] Lint git index content on commit (#113300)#113594

Merged
kibanamachine merged 1 commit intoelastic:7.xfrom
kibanamachine:backport/7.x/pr-113300
Oct 1, 2021
Merged

[7.x] Lint git index content on commit (#113300)#113594
kibanamachine merged 1 commit intoelastic:7.xfrom
kibanamachine:backport/7.x/pr-113300

Conversation

@kibanamachine
Copy link
Copy Markdown
Contributor

Backports the following commits to 7.x:

This fixes two fundamental issues:
* the list of files to be linted is built looking at the diffs of the ref
  specified with `--ref` (or otherwise the current index) with those on
  the filesystem
* the content to be linted is read from the filesystem instead of the
  specified `ref` or the one in the index
@kibanamachine kibanamachine added the backport This PR is a backport of another PR label Oct 1, 2021
@kibanamachine kibanamachine enabled auto-merge (squash) October 1, 2021 05:06
@kibanamachine
Copy link
Copy Markdown
Contributor Author

💚 Build Succeeded

Metrics [docs]

✅ unchanged

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @cavokz

@kibanamachine kibanamachine merged commit 8422a24 into elastic:7.x Oct 1, 2021
spalger added a commit that referenced this pull request Oct 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants