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

IP-241 - Implement pre-commit CI/CD. #3

Merged
merged 1 commit into from
Apr 11, 2024

Conversation

owenlittlejohns
Copy link
Member

Description

This PR is to add pre-commit.ci to the Swath Projector, which will automatically run our pre-commit hooks for each PR. I've configured it to not automatically add a new commit with the changes, because it feels better to still have a human in the loop to review those changes.

Steps to set this up:

  1. Log in to pre-commit.ci.
  2. Select repositories for which I (or the person doing this) is an administrator, and add them to pre-commit.ci.
  3. Update the .pre-commit-config.yaml to add the ci section.
  4. Feel pleased about life.

Jira Issue ID

N/A

Local Test Steps

N/A

PR Acceptance Checklist

  • Jira ticket acceptance criteria met.
  • CHANGELOG.md updated to include high level summary of PR changes.
  • docker/service_version.txt updated if publishing a release.
  • Tests added/updated and passing.
  • Documentation updated (if needed).

Copy link
Member

@flamingbear flamingbear left a comment

Choose a reason for hiding this comment

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

chef's kiss.

@owenlittlejohns owenlittlejohns merged commit d7a45e5 into main Apr 11, 2024
4 checks passed
@owenlittlejohns owenlittlejohns deleted the IP-241-pre-commit-cicd branch April 11, 2024 23:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants