Releases: rossjrw/pr-preview-action
Releases · rossjrw/pr-preview-action
v1.6.0
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 ofpages-base-url
and will be removed in v2. - Output parameter
deployment-url
is deprecated in favour ofpreview-url
and will be removed in v2.
v1.5.0
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
Bugfixes
- Link to this action now points to https://github.com even on enterprise instances
v1.4.7
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
Bugfixes
- Action version can now be pinned to a specific SHA. Thank you to @netomi for the contribution (#72)
- This is the same as https://github.com/rossjrw/pr-preview-action/releases/tag/v1.3.1 (yes I broke it between then and now)
v1.4.5
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
Bugfixes
- Patched a regression that meant the action could no longer run in a container, introduced in v1.4.3.
v1.4.3
Bugfixes
- Current action version is now reported in the preview comment, instead of the version of the current repository. (#52)
v1.4.2
Changes
set-output
(deprecated) has been replaced in favour of a newer output method. Thank you to @noatamir for this contribution (#35)