Releases: telia-oss/github-pr-resource
Releases · telia-oss/github-pr-resource
v0.15.0
v0.14.1
v0.14.0
- Binaries are now being built with Go 0.12.x.
- Support for rebasing pull requests by specifying
integration_tool
onget
(thanks @aryzing, and @ElegantCreationism). get
now also supportsgit_depth
for shallow cloning pull requests (thanks @gabro).- Added a bunch of handy parameters to
put
(thanks @adriagalin): See details forbase_context
,target_url
anddescription
in the README.
v0.13.0
Added support for base_branch
to only trigger on pull requests against the specified branch. Thanks to @ClumsyPotato.
v0.12.0
- We can now unlock/decrypt repositories that use
git-crypt
by specifyinggit_crypt_key
. Thanks to @gabro for the PR. - Switched from
Makefile
to Taskfile.yml for portability (and readability). - Switched from
go-mock
tocounterfeiter
and introduced an assertion library to streamline tests.
v0.11.0
- Added
disable_forks
flag. When set totrue
the resource will no longer produce new versions (or trigger) if the pull request is from a fork. Thanks to @tlwr! - Docker images are now built from the official Alpine 3.8, with the latest versions of
git
andopenssh
installed. The newDockerfile
also has fewer layers (thanks @rickardl), and reduced size (mainly because binaries are now being stripped usingldflags
). - Readme now has a link to the official documentation for setting up webhooks on a resource. Thanks @osis!
v0.10.0
paths
andignore_paths
now support prefix matching to track entire subdirectories (to make it more in line with the git-resource). E.g..ci/
will produce a new version when any file under the.ci
directory is modified. Thanks to @benweissmann!- Added
base_name
andhead_name
to metadata, which contains the name of the base branch and the pull request branch name respectively.
v0.9.0
- Breaking: JSON unmarshalling of source configuration and step parameters is now done with
DisallowUnknownFields()
set. This is done to avoid surprising behaviours due to misconfiguration (e.g. setting path instead of paths). As such, any pipelines with existing misconfigurations will error in this version (and onlatest
). - Now compiling with Go 1.11 and using
go mod
for managing dependencies. - Bumped all dependencies.