Docs about Docs logo Docs about Docs

Integration changelog entries are automatically fetched from tap repositories to create draft files in the docs repository.


What is automated?

The changelog automation fetches some information about pull requests that appear in the changelog file in the singer-io tap repositories. The main goal of this automation is to sort through all the pull requests on all tap repositories and get only the ones that need to be mentioned in the changelog.

This only applies to tap repositories in the singer-io organization, so changelogs for other integrations, destinations, and other features need to be done manually.


How does it work?

Every Monday, the Get new changelog entries runs and an performs the following actions:

  1. Creates a new branch on the docs repository.
  2. Gets the list of PRs merged in the past week in all tap repositories.
  3. Gets the list of PRs from the past week that are mentioned in the changelog of each tap repository.
  4. Removes the PRs to ignore and already documented PRs from that list.
  5. Creates a draft file for each PR and adds it to the _changelog-files/draft folder.
  6. Commits and pushes the changes on the new branch.
  7. Creates a new branch from the new branch to master.

What do I need to do after the job runs?

The automation sorts through the pull requests to exclude all pull requests that don’t need to be added to the changelog, but sometimes it can still create a file that is not needed. The first step when you get the changelog pull request is to check it everything actually belongs in the Stitch docs changelog.

The general rule is that it is only needed for users of the Stitch UI and APIs. If an update only impacts users that run taps outside of Stitch, it doesn’t need to be in the changelog. For example, if a Python module in a tap is updated, it will be transparent for Stitch users and doesn’t need to be documented.

If a pull request does not need to be added to the changelog, you need to:

Since the files created are only drafts, there is some work needed before the pull request can be merged.

Once the changelog entries are completed, you can merge the pull request to publish.


Back to top

Last updated: 14 March 2024