Skip to content

Commit c1061f4

Browse files
rickgeorgesitsdalmo
and
itsdalmo
authored
Update paths parameter to reflect as a list item (#180)
* Bump all dependencies * Update README.md Co-authored-by: itsdalmo <kristian@doingit.no>
1 parent 57c30ee commit c1061f4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ Make sure to check out [#migrating](#migrating) to learn more.
2525
| `access_token` | Yes | | A Github Access Token with repository access (required for setting status on commits). N.B. If you want github-pr-resource to work with a private repository. Set `repo:full` permissions on the access token you create on GitHub. If it is a public repository, `repo:status` is enough. |
2626
| `v3_endpoint` | No | `https://api.github.com` | Endpoint to use for the V3 Github API (Restful). |
2727
| `v4_endpoint` | No | `https://api.github.com/graphql` | Endpoint to use for the V4 Github API (Graphql). |
28-
| `paths` | No | `terraform/*/*.tf` | Only produce new versions if the PR includes changes to files that match one or more glob patterns or prefixes. |
29-
| `ignore_paths` | No | `.ci/` | Inverse of the above. Pattern syntax is documented in [filepath.Match](https://golang.org/pkg/path/filepath/#Match), or a path prefix can be specified (e.g. `.ci/` will match everything in the `.ci` directory). |
28+
| `paths` | No | `["terraform/*/*.tf"]` | Only produce new versions if the PR includes changes to files that match one or more glob patterns or prefixes. |
29+
| `ignore_paths` | No | `[".ci/"]` | Inverse of the above. Pattern syntax is documented in [filepath.Match](https://golang.org/pkg/path/filepath/#Match), or a path prefix can be specified (e.g. `.ci/` will match everything in the `.ci` directory). |
3030
| `disable_ci_skip` | No | `true` | Disable ability to skip builds with `[ci skip]` and `[skip ci]` in commit message or pull request title. |
3131
| `skip_ssl_verification` | No | `true` | Disable SSL/TLS certificate validation on git and API clients. Use with care! |
3232
| `disable_forks` | No | `true` | Disable triggering of the resource if the pull request's fork repository is different to the configured repository. |
@@ -80,7 +80,7 @@ requested version and the metadata emitted by `get` are available to your tasks
8080
- `.git/resource/changed_files` (if enabled by `list_changed_files`)
8181

8282
The information in `metadata.json` is also available as individual files in the `.git/resource` directory, e.g. the `base_sha`
83-
is available as `.git/resource/base_sha`. For a complete list of available (individual) metadata files, please check the code
83+
is available as `.git/resource/base_sha`. For a complete list of available (individual) metadata files, please check the code
8484
[here](https://github.com/telia-oss/github-pr-resource/blob/master/in.go#L66).
8585

8686
When specifying `skip_download` the pull request volume mounted to subsequent tasks will be empty, which is a problem

0 commit comments

Comments
 (0)