diff options
| author | Leitwolf | 2026-10-29 12:18:33 +0300 |
|---|---|---|
| committer | GitHub | 2026-10-29 12:18:33 +0300 |
| commit | 1d48419b7ef642917ebf7dfd16c3bc1b3050d8f1 (patch) | |
| tree | 2e3327fb973f9560b5067d654f3a21ff12a821aa /.github | |
| parent | d2e3e074bb2e1b8ffd9fc990d0b87667ea602f58 (diff) | |
| parent | 30176b75937e87eafbb4f5557eb0be9697753ddf (diff) | |
| download | catch3-1d48419b7ef642917ebf7dfd16c3bc1b3050d8f1.tar.gz | |
Merge pull request #19 from Progmasoft/feature/yyjson-pugixml
Read and write JSON with yyjson and JUnit XML with pugixml
Diffstat (limited to '.github')
| -rw-r--r-- | .github/renovate.json5 | 24 | ||||
| -rw-r--r-- | .github/workflows/validate-header-guards.yml | 5 |
2 files changed, 27 insertions, 2 deletions
diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 85ecd13a..875781be 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -38,13 +38,33 @@ ignorePaths: ["third_party/**", "**/node_modules/**"], - // What Dependabot watched here, and nothing more for now. - enabledManagers: ["github-actions", "bazel-module", "pip_requirements"], + // What Dependabot watched here, and the libraries vendored in third_party/. + enabledManagers: [ + "github-actions", + "bazel-module", + "pip_requirements", + "custom.regex", + ], + + // third_party/ holds copies of release archives, which + // tools/scripts/updateThirdParty.py pins by version and sha256. Renovate + // changes the version; the pull request then needs the new digest and + // --update, which the third_party check of CI asks for. + customManagers: [ + { + customType: "regex", + managerFilePatterns: ["/^tools/scripts/updateThirdParty\\.py$/"], + matchStrings: [ + "# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)( extractVersion=(?<extractVersion>\\S+))?\\s+\"version\": \"(?<currentValue>[^\"]+)\"", + ], + }, + ], // One pull request for each kind of dependency. packageRules: [ { matchManagers: ["github-actions"], groupName: "GitHub Actions" }, { matchManagers: ["bazel-module"], groupName: "Bazel modules" }, { matchManagers: ["pip_requirements"], groupName: "Python tools of CI" }, + { matchManagers: ["custom.regex"], groupName: "Vendored libraries" }, ], } diff --git a/.github/workflows/validate-header-guards.yml b/.github/workflows/validate-header-guards.yml index c5f8a35d..5641ce68 100644 --- a/.github/workflows/validate-header-guards.yml +++ b/.github/workflows/validate-header-guards.yml @@ -39,3 +39,8 @@ jobs: - name: Check that all source files have the correct license header run: | ./tools/scripts/checkLicense.py + + # third_party/ must be the pinned release archives, byte for byte. + - name: Check that third_party matches its pinned archives + run: | + ./tools/scripts/updateThirdParty.py --check |