Skip to content
This repository was archived by the owner on May 11, 2026. It is now read-only.

v12.2.0

Choose a tag to compare

@trotzig trotzig released this 17 Apr 14:47
· 175 commits to main since this release

This minor release adds support for a new HAPPO_GITHUB_TOKEN environment variable, used when posting Happo comments to PRs (this is mainly used in GitHub Enterprise on-premise installations). The new variable takes precedence over HAPPO_GITHUB_USER_CREDENTIALS which is now deprecated. The most simple way to set HAPPO_GITHUB_TOKEN is to use secrets.GITHUB_TOKEN in GitHub actions which is a auth token that is provided automatically to you. E.g.

    env:
      HAPPO_API_KEY: ${{ secrets.HAPPO_API_KEY }}
      HAPPO_API_SECRET: ${{ secrets.HAPPO_API_SECRET }}
      HAPPO_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Related to this is also HAPPO_DELETE_OLD_COMMENTS=true which tells Happo to delete previous status comments so that there's only one remaining. This is useful when you have a PR with a lot of changes made.

    env:
      HAPPO_API_KEY: ${{ secrets.HAPPO_API_KEY }}
      HAPPO_API_SECRET: ${{ secrets.HAPPO_API_SECRET }}
      HAPPO_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
      HAPPO_DELETE_OLD_COMMENTS: true

Full list of changes

  • Add support for HAPPO_GITHUB_TOKEN when posting comment by @trotzig in #339
  • Delete old comments as part of posting new one by @trotzig in #340

Full Changelog: v12.1.2...v12.2.0