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

Releases: canonical/discourse-gatekeeper

v0.9.1

v0.9.1 Pre-release
Pre-release

Choose a tag to compare

@yanksyoon yanksyoon released this 24 Jun 07:45
fdbde5c

Fixed

  • Skip commented line further down the checking pipeline

v0.9.0

v0.9.0 Pre-release
Pre-release

Choose a tag to compare

@yanksyoon yanksyoon released this 24 Jun 05:22
46c03b4

Added

  • Separate comment lines (<!-- ... --> ) from index lines in comment structure.

v0.8.1

v0.8.1 Pre-release
Pre-release

Choose a tag to compare

@jdkandersson jdkandersson released this 19 Jan 06:02
24675f6

Fixed

  • Migration error where discourse is in-line with the default branch but the
    base content tag is behind. This no longer attempts migration and now also
    moves the tag to the latest commit on the default branch.

v0.8.0

v0.8.0 Pre-release
Pre-release

Choose a tag to compare

@jdkandersson jdkandersson released this 01 Dec 00:32
d49ebe7

Added

  • Support for migrating the navigation table to the contents index
  • Checks that external references on the contents index return a 2XX response to
    HEAD requests

Fixed

  • Whitespace buildup between generated and input content

v0.7.0

v0.7.0 Pre-release
Pre-release

Choose a tag to compare

@jdkandersson jdkandersson released this 09 Oct 07:16
9ec9d22

Added

  • Support for defining a contents index in the index.md file.
  • Support for hidden items on the contentx index.
  • Support for external items on the contents index
  • Automatically moving the discourse-gatekeeper/content tag when the
    documentation is up to date with discourse

Fixed

  • Navigation table not getting removed if the contents was hidden using the
    [details=...]...[/details] tag.
  • No longer use empty values from INPUT_COMMIT_SHA instead of reading the
    event/ environment
  • Removing leading and trailing whitespace in base content for comparison
  • Correct failing pre-flight checks due to shallowly checked out repos

v0.6.0 - Protecting Community Contributions

Choose a tag to compare

@jdkandersson jdkandersson released this 11 Jul 04:38
bc4648a

Added

  • Raising PRs with community contributions on discourse
  • Signing commits if required by a repository

Changed

  • Conflict detection logic no longer uses git to merge for page conflicts.
    Instead any differences between discourse and the feature branch on a specific
    page lead to a failed run.

Fixed

  • Improved logging of conflicts

v0.5.0 Remove base_branch Input

Choose a tag to compare

@jdkandersson jdkandersson released this 17 Apr 08:05
4dfd8c6

Changed

  • Removed base_branch input.

Fixed

  • Add support for handling tags that are directly linked to a commit which
    resulted in a failure before.

v0.4.0 Use Tag to Track Latest Content

Choose a tag to compare

@jdkandersson jdkandersson released this 13 Apr 06:01
850bfcc

Changed

  • The base for the content comparison is no longer based on using a branch.
    Instead, the action will look for a tag with a default value of
    upload-charm-docs/base-content which can be changed using the
    base_tag_name input. This ensures that the comparison can be made even if
    the action is run on the default branch. The action will now fail if the
    base_tag_name is not found on the repository.
  • On a successful run in reconciliation mode with dry run not enabled, the
    action will automatically add the base_tag_name tag to the commit on which
    it was run.
  • The base_branch input has been deprecated and will be removed in a future
    release. It is no longer in use.

v0.3.0: Community Contribution Conflict Check

Choose a tag to compare

@jdkandersson jdkandersson released this 08 Apr 08:14
1ca21ed

Changed

  • The action now checks for conflicts with any edits directly on discourse and
    will fail the content update if there are conflicts. The git merge algorithm
    is used to merge content where there are no conflicts with the new content in
    git and the changed content on discourse. The base_branch input can be used
    to set the branch that contains the content for the base of the comparison for
    conflicts. It should be the branch targeted by pull requests and from which
    releases are usually done. This input is optional and defaults to the default
    branch of the repository.
  • The github_token input has been changed to be required as it is now also
    required during reconciliation to retrieve the content that was last pushed
    from git to discousrse as a base for checking for content conflicts and
    merging content.

v0.2.3 Bug Fixes

Pre-release

Choose a tag to compare

@jdkandersson jdkandersson released this 24 Jan 23:44
137bf75

Added

  • Check to ensure that a topic URL resolves on discourse after allowing for any
    redirects.

Changed

  • URL checks are now after allowing for any discourse redirects rather than
    before letting topic URLs pass that do not include the slug or do not include
    the topic id as long as the URL after redirects is valid.
  • The check for whether the current branch clashes with the branch being created
    has been removed. This is no longer required because the migration branch is
    now from the default branch and there is an existing check that looks for any
    clashes with existing branches.
  • The action no longer goes back to detached head mode after completing git
    operations since the action now runs in a temporary directory meaning that no
    changes persist beyond the action completing.

Fixed

  • Bug where the action required environment variables that aren't available on
    all supported triggers.