Skip to content

Releases: telia-oss/github-pr-resource

v0.15.0

17 Jun 13:00
7f5c11c
Compare
Choose a tag to compare
  • integration_tool now supports checkout to perform a plain checkout on get (no merging or rebasing) thanks to @darwin67.

v0.14.1

05 Jun 20:56
a27ce43
Compare
Choose a tag to compare
  • Fixed malformed target URL when setting commit status in put (see #117). Thanks to @antonu17.

v0.14.0

05 Jun 09:33
00cc18c
Compare
Choose a tag to compare
  • Binaries are now being built with Go 0.12.x.
  • Support for rebasing pull requests by specifying integration_tool on get (thanks @aryzing, and @ElegantCreationism).
  • get now also supports git_depth for shallow cloning pull requests (thanks @gabro).
  • Added a bunch of handy parameters to put (thanks @adriagalin): See details for base_context, target_url and description in the README.

v0.13.0

02 May 12:24
e602067
Compare
Choose a tag to compare

Added support for base_branch to only trigger on pull requests against the specified branch. Thanks to @ClumsyPotato.

v0.12.0

30 Apr 11:57
6038cf4
Compare
Choose a tag to compare
  • We can now unlock/decrypt repositories that use git-crypt by specifying git_crypt_key. Thanks to @gabro for the PR.
  • Switched from Makefile to Taskfile.yml for portability (and readability).
  • Switched from go-mock to counterfeiter and introduced an assertion library to streamline tests.

v0.11.0

22 Jan 20:01
78adadc
Compare
Choose a tag to compare
  • Added disable_forks flag. When set to true 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 and openssh installed. The new Dockerfile also has fewer layers (thanks @rickardl), and reduced size (mainly because binaries are now being stripped using ldflags).
  • Readme now has a link to the official documentation for setting up webhooks on a resource. Thanks @osis!

v0.10.0

10 Dec 12:43
f5acd4b
Compare
Choose a tag to compare
  • paths and ignore_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 and head_name to metadata, which contains the name of the base branch and the pull request branch name respectively.

v0.9.0

01 Nov 11:31
315b13c
Compare
Choose a tag to compare
  • 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 on latest).
  • Now compiling with Go 1.11 and using go mod for managing dependencies.
  • Bumped all dependencies.

v0.8.0

23 Oct 08:45
e126feb
Compare
Choose a tag to compare

Added skip_ssl_verification flag for Github Enterprise users. Defaults to false and should be used with care.

v0.7.0

02 Oct 08:12
524de3a
Compare
Choose a tag to compare
  • Fix: paths and ignore_paths now have a s at the end to make them plural, as documented (check #44 for more details)