You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+29-30Lines changed: 29 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ Make sure to check out [#migrating](#migrating) to learn more.
30
30
|`disable_ci_skip`| No |`true`| Disable ability to skip builds with `[ci skip]` and `[skip ci]` in commit message or pull request title. |
31
31
|`skip_ssl_verification`| No |`true`| Disable SSL/TLS certificate validation on git and API clients. Use with care! |
32
32
|`disable_forks`| No |`true`| Disable triggering of the resource if the pull request's fork repository is different to the configured repository. |
33
-
|`required_review_approvals`| No |`2`| Disable triggering of the resource if the pull request does not have at least `X` approved review(s). |
33
+
|`required_review_approvals`| No |`2`| Disable triggering of the resource if the pull request does not have at least `X` approved review(s). |
34
34
|`git_crypt_key`| No |`AEdJVENSWVBUS0VZAAAAA...`| Base64 encoded git-crypt key. Setting this will unlock / decrypt the repository with git-crypt. To get the key simply execute `git-crypt export-key -- - | base64` in an encrypted repository. |
35
35
|`base_branch`| No |`master`| Name of a branch. The pipeline will only trigger on pull requests against the specified branch. |
36
36
|`labels`| No |`["bug", "enhancement"]`| The labels on the PR. The pipeline will only trigger on pull requests having at least one of the specified labels. |
@@ -63,12 +63,12 @@ generate notifications over the webhook. So if you have a repository with little
| `path` | Yes | `pull-request` | The name given to the resource in a GET step. |
112
-
| `status` | No | `SUCCESS` | Set a status on a commit. One of `SUCCESS`, `PENDING`, `FAILURE` and `ERROR`. |
113
-
| `base_context` | No | `concourse-ci` | Base context (prefix) used for the status context. Defaults to `concourse-ci`. |
114
-
| `context` | No | `unit-test` | A context to use for the status, which is prefixed by `base_context`. Defaults to `status`. |
115
-
| `comment` | No | `hello world!` | A comment to add to the pull request. |
116
-
| `comment_file` | No | `my-output/comment.txt` | Path to file containing a comment to add to the pull request (e.g. output of `terraform plan`). |
117
-
| `target_url` | No | `$ATC_EXTERNAL_URL/builds/$BUILD_ID` | The target URL for the status, where users are sent when clicking details (defaults to the Concourse build page). |
118
-
| `description` | No | `Concourse CI build failed` | The description status on the specified pull request. |
119
-
| `description_file` | No | `my-output/description.txt` | Path to file containing the description status to add to the pull request |
120
-
| `delete_previous_comments` | No | `true` | Boolean. Previous comments made on the pull request by this resource will be deleted before making the new comment. Useful for removing outdated information. |
| `path` | Yes | `pull-request` | The name given to the resource in a GET step. |
112
+
| `status` | No | `SUCCESS` | Set a status on a commit. One of `SUCCESS`, `PENDING`, `FAILURE` and `ERROR`. |
113
+
| `base_context` | No | `concourse-ci` | Base context (prefix) used for the status context. Defaults to `concourse-ci`. |
114
+
| `context` | No | `unit-test` | A context to use for the status, which is prefixed by `base_context`. Defaults to `status`. |
115
+
| `comment` | No | `hello world!` | A comment to add to the pull request. |
116
+
| `comment_file` | No | `my-output/comment.txt` | Path to file containing a comment to add to the pull request (e.g. output of `terraform plan`). |
117
+
| `target_url` | No | `$ATC_EXTERNAL_URL/builds/$BUILD_ID` | The target URL for the status, where users are sent when clicking details (defaults to the Concourse build page). |
118
+
| `description` | No | `Concourse CI build failed` | The description status on the specified pull request. |
119
+
| `description_file` | No | `my-output/description.txt` | Path to file containing the description status to add to the pull request |
120
+
| `delete_previous_comments` | No | `true` | Boolean. Previous comments made on the pull request by this resource will be deleted before making the new comment. Useful for removing outdated information. |
121
121
122
122
Note that `comment`, `comment_file` and `target_url` will all expand environment variables, so in the examples above `$ATC_EXTERNAL_URL` will be replaced by the public URL of the Concourse ATCs.
123
123
See https://concourse-ci.org/implementing-resource-types.html#resource-metadata for more details about metadata that is available via environment variables.
@@ -179,19 +179,18 @@ jobs:
179
179
180
180
## Costs
181
181
182
-
The Github API(s) have a rate limit of 5000 requests per hour (per user). This resource will incur the following costs:
182
+
The Github API(s) have a rate limit of 5000 requests per hour (per user). For the V3 API this essentially
183
+
translates to 5000 requests, whereas for the V4 API (GraphQL) the calculation is more involved:
0 commit comments