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 pre-commit and action linter #1172

Merged
merged 3 commits into from
Oct 20, 2023
Merged

Conversation

sjberman
Copy link
Contributor

Problem: Linting errors were not being caught before being merged to main.

Solution: Ensure that the pre commit hook runs on the full repo and not just the diff. Also disabled a the "only-new-issues" check in the pipeline to ensure everything is caught.

Closes #1136

  • I have read the CONTRIBUTING doc
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked that all unit tests pass after adding my changes
  • I have updated necessary documentation
  • I have rebased my branch onto main
  • I will ensure my PR is targeting the main branch and pulling from my branch from my own fork

Problem: Linting errors were not being caught before being merged to main.

Solution: Ensure that the pre commit hook runs on the full repo and not just the diff. Also disabled a the "only-new-issues" check in the pipeline to ensure everything is caught.
@sjberman sjberman requested a review from a team as a code owner October 20, 2023 16:15
@github-actions github-actions bot added the chore Pull requests for routine tasks label Oct 20, 2023
@sjberman
Copy link
Contributor Author

Note, be sure to run pre-commit autoupdate once this is merged to update to the new workflow ID.

@sjberman sjberman merged commit ee0c491 into nginxinc:main Oct 20, 2023
23 checks passed
@sjberman sjberman deleted the chore/fix-linting branch October 20, 2023 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Pull requests for routine tasks
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Lint action missing errors on PRs
3 participants