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

Update pre-commit Hooks to Include Bugfix #41

Merged

Conversation

mcdonnnj
Copy link
Member

@mcdonnnj mcdonnnj commented Apr 7, 2020

🗣 Description

The main focus of this PR was to run pre-commit autoupdate to pull in the latest version of the pre-commit-terraform hook. This version includes the PR I submitted to fix an issue seen in cisagov/skeleton-tf-module with Terraform in sub-directories.

I also performed a little bit of housekeeping by sorting the .gitignore file, renaming the build action to lint to be more accurately descriptive, and breaking out the pre-commit hook environment setup so that it's clearer when environment setup fails (as it was often yesterday), vs when hooks themselves are failing.

💭 Motivation and Context

Need the latest version, accurately describing intent is good, and sorted is nice.

🧪 Testing

Automated testing.

📷 Screenshots (if appropriate)

🚥 Types of Changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (causes existing functionality to change)

✅ Checklist

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

`pre-commit-terraform` hook since the PR I submitted,
antonbabenko/pre-commit-terraform#100,
was approved. This will fix issues with `skeleton-tf-module` related to multiple
directories with Terraform code.
…hen the

failure is with setup rather than hooks running.
…lding.

Adjust description for pre-commit hook setup to better convey what is being
done.
@mcdonnnj mcdonnnj added the bug This issue or pull request addresses broken functionality label Apr 7, 2020
@mcdonnnj mcdonnnj requested a review from hillaryj April 7, 2020 15:29
@mcdonnnj mcdonnnj requested review from dav3r, felddy, jsf9k and a team as code owners April 7, 2020 15:29
@mcdonnnj mcdonnnj self-assigned this Apr 7, 2020
Copy link
Member

@jsf9k jsf9k left a comment

Choose a reason for hiding this comment

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

Great work!

Copy link
Member

@dav3r dav3r left a comment

Choose a reason for hiding this comment

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

Tremendous! 🦄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue or pull request addresses broken functionality
Projects
Development

Successfully merging this pull request may close these issues.

3 participants