Skip to content

Commit

Permalink
Moving example closer to text
Browse files Browse the repository at this point in the history
It was a little hard to grok that example listed was for a `put` for pending status, hopefully grouping these closer to the text will be helpful.
  • Loading branch information
Max Knee authored May 28, 2020
1 parent a2ec386 commit 8628f31
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,7 @@ is available as `.git/resource/base_sha`. For a complete list of available (indi
When specifying `skip_download` the pull request volume mounted to subsequent tasks will be empty, which is a problem
when you set e.g. the pending status before running the actual tests. The workaround for this is to use an alias for
the `put` (see https://github.com/telia-oss/github-pr-resource/issues/32 for more details).

git-crypt encrypted repositories will automatically be decrypted when the `git_crypt_key` is set in the source configuration.
Example here:

```yaml
put: update-status <-- Use an alias for the pull-request resource
Expand All @@ -99,6 +98,8 @@ params:
get_params: {skip_download: true}
```
git-crypt encrypted repositories will automatically be decrypted when the `git_crypt_key` is set in the source configuration.

Note that, should you retrigger a build in the hopes of testing the last commit to a PR against a newer version of
the base, Concourse will reuse the volume (i.e. not trigger a new `get`) if it still exists, which can produce
unexpected results (#5). As such, re-testing a PR against a newer version of the base is best done by *pushing an
Expand Down

0 comments on commit 8628f31

Please sign in to comment.