| 1 | #!/usr/bin/env -S jq -nf |
| 2 | { |
| 3 | "ignorePatterns": [ |
| 4 | {"pattern": "^https?://localhost"}, |
| 5 | {"pattern": "^https?://example"}, |
| 6 | {"pattern": "^https://checkstyle\\.sourceforge\\.io"}, |
| 7 | {"pattern": "^https://www\\.linkedin\\.com"}, |
| 8 | {"pattern": "https://(.*?)\\.azure\\.sovity\\.io"}, |
| 9 | {"pattern": "http://edc[0-9]*:"}, |
| 10 | {"pattern": "https://test-connector.hosting-environment.io"}, |
| 11 | {"pattern": "https://github.com/sovity/dataspace-portal-ee"} |
| 12 | ], |
| 13 | "replacementPatterns": [ |
| 14 | { |
| 15 | "pattern": "^\( |
| 16 | env | .GITHUB_SERVER_URL // ("GITHUB_SERVER_URL was null" | halt_error) |
| 17 | )/\( |
| 18 | env | .GITHUB_REPOSITORY // ("GITHUB_REPOSITORY was null" | halt_error) |
| 19 | )/blob/main/", |
| 20 | "replacement": "\( |
| 21 | env | .GITHUB_SERVER_URL // ("GITHUB_SERVER_URL was null" | halt_error) |
| 22 | )/\( |
| 23 | env | .GITHUB_REPOSITORY // ("GITHUB_REPOSITORY was null" | halt_error) |
| 24 | )/blob/\( |
| 25 | env | .CI_SHA // ("CI_SHA was null" | halt_error) |
| 26 | )/" |
| 27 | }, |
| 28 | { |
| 29 | "pattern": "^\( |
| 30 | env | .GITHUB_SERVER_URL // ("GITHUB_SERVER_URL was null" | halt_error) |
| 31 | )/\( |
| 32 | env | .GITHUB_REPOSITORY // ("GITHUB_REPOSITORY was null" | halt_error) |
| 33 | )/tree/main/", |
| 34 | "replacement": "\( |
| 35 | env | .GITHUB_SERVER_URL // ("GITHUB_SERVER_URL was null" | halt_error) |
| 36 | )/\( |
| 37 | env | .GITHUB_REPOSITORY // ("GITHUB_REPOSITORY was null" | halt_error) |
| 38 | )/tree/\( |
| 39 | env | .CI_SHA // ("CI_SHA was null" | halt_error) |
| 40 | )/" |
| 41 | } |
| 42 | ] |
| 43 | } |