Skip to content

Releases: rossjrw/pr-preview-action

v1.6.0

10 Jan 16:03
df22037
Compare
Choose a tag to compare

Features

  • The sticky comment can now be disabled by setting input parameter comment: false. (#97)
  • Added more output parameters, enough to write your own sticky comment: deployment-action, pages-base-url, preview-url-path, preview-url, action-version, action-start-timestamp, action-start-time (#97, #73, #96)

Changes

  • Changed the layout of the default sticky comment.
  • Default sticky comment now includes a link to the repo's deployments so that you can verify whether the Pages deployment has completed, thank you @vincerubinetti for the suggestion (#25)

Deprecations

  • Input parameter custom-url is deprecated in favour of pages-base-url and will be removed in v2.
  • Output parameter deployment-url is deprecated in favour of preview-url and will be removed in v2.

v1.5.0

08 Jan 15:37
85ebedd
Compare
Choose a tag to compare

Features

  • Added parameter pages-base-path that removes a path from the start of the URL, for correcting the output URL when the umbrella is in a directory other than the repository root. Thank you to @RedSparr0w for the contribution and @lredoban for code review (#81)

v1.4.8

17 Sep 13:33
430e3df
Compare
Choose a tag to compare

Bugfixes

v1.4.7

05 Feb 13:15
f31d5aa
Compare
Choose a tag to compare

Changes

  • Upstream action calls are now pinned to specific SHAs per security hardening best practices. Thank you to @erikwrede for the contribution (#79)

v1.4.6

19 Dec 08:45
4668d7c
Compare
Choose a tag to compare

Bugfixes

v1.4.5

18 Dec 18:24
7df1ee4
Compare
Choose a tag to compare

Bugfixes

  • The link to the preview file tree in the PR comment now correctly links to the repo in which the preview is actually deployed, if that's different from the repo the comment was posted in. Thank you to @netomi for this fix (#71)

Documentation

  • The usage of the token parameter has been cleaned up thanks to @vorburger (#64)

v1.4.4

22 May 07:46
183082f
Compare
Choose a tag to compare

Bugfixes

  • Patched a regression that meant the action could no longer run in a container, introduced in v1.4.3.

v1.4.3

18 May 20:12
b3a95bc
Compare
Choose a tag to compare

Bugfixes

  • Current action version is now reported in the preview comment, instead of the version of the current repository. (#52)

v1.4.2

16 May 13:20
70d0e7a
Compare
Choose a tag to compare

Changes

  • set-output (deprecated) has been replaced in favour of a newer output method. Thank you to @noatamir for this contribution (#35)

v1.4.1

27 Apr 13:37
60ad6fc
Compare
Choose a tag to compare

Bugfixes