diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b9376ad..0ceb85f 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -124,7 +124,7 @@ jobs: merge-multiple: true - name: Checksums run: cd dist && sha256sum -- *.tar.gz > checksums.txt - - uses: actions/attest-build-provenance@0f67c3f4856b2e3261c31976d6725780e5e4c373 # v4.1.1 + - uses: actions/attest-build-provenance@4d101475d8b20a2381f78447822ac1eab6504dd8 # v4.2.2 with: # Everything published, including checksums.txt — no unattested asset. subject-path: dist/* diff --git a/renovate.json b/renovate.json index f93d94c..9597aee 100644 --- a/renovate.json +++ b/renovate.json @@ -1,8 +1,27 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "customDatasources": { + "curl-for-win": { + "defaultRegistryUrlTemplate": "https://curl.se/windows/", + "format": "html" + } + }, + "customManagers": [ + { + "customType": "regex", + "datasourceTemplate": "custom.curl-for-win", + "managerFilePatterns": [ + "/^versions\\.env$/" + ], + "matchStrings": [ + "# renovate: depName=(?[^\\s]+)\\nCFW_PACKAGE=(?[^\\s]+)" + ], + "versioningTemplate": "regex:^(?\\d+)\\.(?\\d+)\\.(?\\d+)_(?\\d+)$" + } + ], "description": [ - "The canonical Renovate configuration is a shared preset \u2014 default.json in the limen repository \u2014 so every repository inherits it by reference and a fix there reaches all of them without a file being re-seeded. The ref is pinned: the `renovate` rule keeps it at the repository's own limen version (the farcloser/limen pin in aqua.yaml), so the preset moves with the release like every other canonical file. limen itself, the preset's author, reads it from its own default branch. Everything below is the project's own \u2014 overrides and additions go here, next to the ref.", - "forkProcessing: Renovate skips forked repositories by default under an all-repositories App installation, and it skips them before reading any config beyond this file \u2014 so the setting cannot live in the shared preset, and cannot live in a renovate.json5 either: only the onboarding config file name, renovate.json, is read through the platform API at that point. Every repository that is a GitHub fork is silently never processed without it.", + "The canonical Renovate configuration is a shared preset — default.json in the limen repository — so every repository inherits it by reference and a fix there reaches all of them without a file being re-seeded. The ref is pinned: the `renovate` rule keeps it at the repository's own limen version (the farcloser/limen pin in aqua.yaml), so the preset moves with the release like every other canonical file. limen itself, the preset's author, reads it from its own default branch. Everything below is the project's own — overrides and additions go here, next to the ref.", + "forkProcessing: Renovate skips forked repositories by default under an all-repositories App installation, and it skips them before reading any config beyond this file — so the setting cannot live in the shared preset, and cannot live in a renovate.json5 either: only the onboarding config file name, renovate.json, is read through the platform API at that point. Every repository that is a GitHub fork is silently never processed without it.", "gitIgnoredAuthors: the update-aqua-checksum workflow pushes a fix-up commit onto Renovate's branches; without this, Renovate treats the branch as human-modified and stops rebasing it. The org's App identity is the org's, so the array stays here (the `renovate` rule maintains it) rather than in the preset.", "customManagers: CFW_PACKAGE in versions.env is the curl-for-win package this repository tracks, in curl.se's own _ form, watched straight off the curl.se download index (an HTML page whose hrefs carry the token), so a bump can only propose something actually downloadable. CFW_COMMIT is deliberately not managed: bumping it means re-auditing the build scripts and re-cross-checking the vendored key, human work (see versions.env).", "packageRules/extractVersion: index hrefs look like dl-8.21.0_2/curl-8.21.0_2-win64-mingw.zip; the leading directory component carries the package token." @@ -16,31 +35,12 @@ "300983632+limen-ci-farcloser[bot]@users.noreply.github.com", "41898282+github-actions[bot]@users.noreply.github.com" ], - "customManagers": [ - { - "customType": "regex", - "managerFilePatterns": [ - "/^versions\\.env$/" - ], - "matchStrings": [ - "# renovate: depName=(?[^\\s]+)\\nCFW_PACKAGE=(?[^\\s]+)" - ], - "datasourceTemplate": "custom.curl-for-win", - "versioningTemplate": "regex:^(?\\d+)\\.(?\\d+)\\.(?\\d+)_(?\\d+)$" - } - ], - "customDatasources": { - "curl-for-win": { - "defaultRegistryUrlTemplate": "https://curl.se/windows/", - "format": "html" - } - }, "packageRules": [ { + "extractVersion": "^dl-(?\\d+\\.\\d+\\.\\d+_\\d+)/", "matchDatasources": [ "custom.curl-for-win" - ], - "extractVersion": "^dl-(?\\d+\\.\\d+\\.\\d+_\\d+)/" + ] } ] }