Skip to content

Commit 7d0e983

Browse files
committed
explaination of check step
1 parent 983cb33 commit 7d0e983

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,13 @@ In your bosh deployment manifest, add to the `groundcrew.additional_resource_typ
4747

4848
### `check`: Check for new pull requests
4949

50-
New pull requests that have no `concourse-ci` status messages are pulled in.
51-
Since the nature of Concourse is to always have the latest version, some jiggery
52-
pokery was done to allow iteration of each pull request.
50+
Concourse resources always iterate over the latest version. This maps well to
51+
semver and git, but not with pull requests. To find the latests pull
52+
requests, `check` queries for all PRs, selects only PRs without `concourse-ci`
53+
status messages, and then only returns the oldest one from list.
54+
55+
To ensure that `check` can iterate over all PRs, you must explicitly define an
56+
`out` for the PR.
5357

5458
### `in`: Clone the repository, at the given pull request ref
5559

0 commit comments

Comments
 (0)