Set up Githooks for vscode and shell

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • No version
    • Affects Version/s: None
    • Component/s: Documentation
    • None
    • Not Needed

      We should consider integrating Git and Jira for vscode and shell.  We can revisit if we want to also do this for Compass after the repo cleanup.

      Setting up the Githook

      1. Login to  GitHub and find the repo you need to adjust
      2. On the toolbar on the right-hand side, navigate to "Settings"
      3. Navigate to Webhooks and Services
      4. Click "Add Webhook"
      5. Enter https://githook.mongodb.com/
        • The default behavior of this webhook is to post commit to all branches in a repo to JIRA.  If you want to limit the commit activity to a specific repository or set of repositories, you must do the following:
      6. The content-type is application/json
      7. Just send the "push" event

      Source: Github and Githooks for Jira

              Assignee:
              Michael Rose (Inactive)
              Reporter:
              Jessica Sigafoos
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: