From 1c500c49261208d2b82e94a94d6e98ae6ca17850 Mon Sep 17 00:00:00 2001 From: Vitor Mattos <1079143+vitormattos@users.noreply.github.com> Date: Thu, 5 Nov 2026 02:01:53 +0000 Subject: [PATCH 1/7] ci: synchronize PHP 8.5 App Store publisher and workflow catalog Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com> --- .github/actions-lock.txt | 4 ++-- .github/workflows/appstore-build-publish.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/actions-lock.txt b/.github/actions-lock.txt index 90af8b5279..655b7a4b4b 100644 --- a/.github/actions-lock.txt +++ b/.github/actions-lock.txt @@ -3,7 +3,7 @@ # workflow-lock-schema: 3 -{"workflow":"appstore-build-publish.yml","sha256":"fc1a21966373b98ab0fc9ab28770d88033001976785eb3fcf3f634c693bb62e6","catalog_commit":"ab9c5cd13f86023b749b67af2934647d7371fbde"} +{"workflow":"appstore-build-publish.yml","sha256":"883f6480a09e5faddea27e7c69bfb6e2f385a79d3de3647aa4280ad65bdb4fad","catalog_commit":"9f61fad11a7a8ccabb59ddd1cb47fd031dd7c2f1"} {"workflow":"block-unconventional-commits.yml","sha256":"682899d221aa96cd1ad93c3cf46970205a083e49e45d9405b86f4b732a350cea","catalog_commit":"ab9c5cd13f86023b749b67af2934647d7371fbde"} {"workflow":"first-merged-pr-comment.yml","sha256":"31225cc5fc20b0ec7d77aa35fb795a4bcbea078701b805f5e581d475951689a9","catalog_commit":"ab9c5cd13f86023b749b67af2934647d7371fbde"} {"workflow":"lint-eslint.yml","sha256":"4c4dd7a4aa128713a3c6765fc078fb7bb97ffbecec1e8ce1a86a146753be74e0","catalog_commit":"ab9c5cd13f86023b749b67af2934647d7371fbde"} @@ -19,4 +19,4 @@ {"workflow":"prepare-release.yml","sha256":"02343393c3a59dc125bd640e00e73bae97b8981678dde658535aa0dc85347d2e","catalog_commit":"ab9c5cd13f86023b749b67af2934647d7371fbde"} {"workflow":"psalm.yml","sha256":"96e71e6140d9d8b8684d95c5cfbd9038005eb21e6ef9a6dad5d83dc755af3637","catalog_commit":"ab9c5cd13f86023b749b67af2934647d7371fbde"} {"workflow":"reuse.yml","sha256":"f563735e1a573cca3acb2975321ee760e5d52cb6ca64bfcc11a5da4ae0f9bf73","catalog_commit":"ab9c5cd13f86023b749b67af2934647d7371fbde"} -{"workflow":"sync-workflow-templates.yml","sha256":"1600c0d119c6f51f0ba18d190a7993e1c811276d57fcabdef1e0770fd1062967","catalog_commit":"ab9c5cd13f86023b749b67af2934647d7371fbde"} +{"workflow":"sync-workflow-templates.yml","sha256":"be4a15cf5b8ec4a50526c03b44c67a03bab5e1265ebdc9afd5e3cb8c3825a6e5","catalog_commit":"9f61fad11a7a8ccabb59ddd1cb47fd031dd7c2f1"} diff --git a/.github/workflows/appstore-build-publish.yml b/.github/workflows/appstore-build-publish.yml index 6c77fe3187..2cf3a1b8ab 100644 --- a/.github/workflows/appstore-build-publish.yml +++ b/.github/workflows/appstore-build-publish.yml @@ -26,7 +26,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Build and publish release - uses: LibreCodeCoop/.github/actions/nextcloud-appstore-publish@600b84354bdbb2da4fc32e9d4eecac1fcce60666 + uses: LibreCodeCoop/.github/actions/nextcloud-appstore-publish@5ab443dd75abc45f2d5541d8b12dfe4cd042fed0 # PHP 8.5 publisher with: app-name: ${{ github.event.repository.name }} release-tag: ${{ github.event_name == 'workflow_dispatch' && inputs.release_tag || github.event.release.tag_name }} From 8936068a00c24449a5bd5649fc7512be4ceed596 Mon Sep 17 00:00:00 2001 From: Vitor Mattos <1079143+vitormattos@users.noreply.github.com> Date: Thu, 5 Nov 2026 02:05:40 +0000 Subject: [PATCH 2/7] ci: align publisher pin with manual recovery safeguard Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com> --- .github/actions-lock.txt | 4 ++-- .github/workflows/appstore-build-publish.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/actions-lock.txt b/.github/actions-lock.txt index 655b7a4b4b..3d6fc503c4 100644 --- a/.github/actions-lock.txt +++ b/.github/actions-lock.txt @@ -3,7 +3,7 @@ # workflow-lock-schema: 3 -{"workflow":"appstore-build-publish.yml","sha256":"883f6480a09e5faddea27e7c69bfb6e2f385a79d3de3647aa4280ad65bdb4fad","catalog_commit":"9f61fad11a7a8ccabb59ddd1cb47fd031dd7c2f1"} +{"workflow":"appstore-build-publish.yml","sha256":"6add4f45b758ea81b8f21b86e908684874bed22c99809413c73b14192ca50c8c","catalog_commit":"8b97fa506f8e8cbfd4e0fc570b5ae8565831d1f0"} {"workflow":"block-unconventional-commits.yml","sha256":"682899d221aa96cd1ad93c3cf46970205a083e49e45d9405b86f4b732a350cea","catalog_commit":"ab9c5cd13f86023b749b67af2934647d7371fbde"} {"workflow":"first-merged-pr-comment.yml","sha256":"31225cc5fc20b0ec7d77aa35fb795a4bcbea078701b805f5e581d475951689a9","catalog_commit":"ab9c5cd13f86023b749b67af2934647d7371fbde"} {"workflow":"lint-eslint.yml","sha256":"4c4dd7a4aa128713a3c6765fc078fb7bb97ffbecec1e8ce1a86a146753be74e0","catalog_commit":"ab9c5cd13f86023b749b67af2934647d7371fbde"} @@ -19,4 +19,4 @@ {"workflow":"prepare-release.yml","sha256":"02343393c3a59dc125bd640e00e73bae97b8981678dde658535aa0dc85347d2e","catalog_commit":"ab9c5cd13f86023b749b67af2934647d7371fbde"} {"workflow":"psalm.yml","sha256":"96e71e6140d9d8b8684d95c5cfbd9038005eb21e6ef9a6dad5d83dc755af3637","catalog_commit":"ab9c5cd13f86023b749b67af2934647d7371fbde"} {"workflow":"reuse.yml","sha256":"f563735e1a573cca3acb2975321ee760e5d52cb6ca64bfcc11a5da4ae0f9bf73","catalog_commit":"ab9c5cd13f86023b749b67af2934647d7371fbde"} -{"workflow":"sync-workflow-templates.yml","sha256":"be4a15cf5b8ec4a50526c03b44c67a03bab5e1265ebdc9afd5e3cb8c3825a6e5","catalog_commit":"9f61fad11a7a8ccabb59ddd1cb47fd031dd7c2f1"} +{"workflow":"sync-workflow-templates.yml","sha256":"be4a15cf5b8ec4a50526c03b44c67a03bab5e1265ebdc9afd5e3cb8c3825a6e5","catalog_commit":"8b97fa506f8e8cbfd4e0fc570b5ae8565831d1f0"} diff --git a/.github/workflows/appstore-build-publish.yml b/.github/workflows/appstore-build-publish.yml index 2cf3a1b8ab..3c8c62a9ea 100644 --- a/.github/workflows/appstore-build-publish.yml +++ b/.github/workflows/appstore-build-publish.yml @@ -26,7 +26,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Build and publish release - uses: LibreCodeCoop/.github/actions/nextcloud-appstore-publish@5ab443dd75abc45f2d5541d8b12dfe4cd042fed0 # PHP 8.5 publisher + uses: LibreCodeCoop/.github/actions/nextcloud-appstore-publish@cf5e78c9eea659385f06c232a6f449c343c41ef6 # PHP 8.5 publisher with: app-name: ${{ github.event.repository.name }} release-tag: ${{ github.event_name == 'workflow_dispatch' && inputs.release_tag || github.event.release.tag_name }} From 6d9c28b06df1667f4313122e22ecf3b1530f79f7 Mon Sep 17 00:00:00 2001 From: Vitor Mattos <1079143+vitormattos@users.noreply.github.com> Date: Thu, 5 Nov 2026 02:07:38 +0000 Subject: [PATCH 3/7] ci: sync App Store publisher latest-release guard Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com> --- .github/actions-lock.txt | 4 ++-- .github/workflows/appstore-build-publish.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/actions-lock.txt b/.github/actions-lock.txt index 3d6fc503c4..44c94475c1 100644 --- a/.github/actions-lock.txt +++ b/.github/actions-lock.txt @@ -3,7 +3,7 @@ # workflow-lock-schema: 3 -{"workflow":"appstore-build-publish.yml","sha256":"6add4f45b758ea81b8f21b86e908684874bed22c99809413c73b14192ca50c8c","catalog_commit":"8b97fa506f8e8cbfd4e0fc570b5ae8565831d1f0"} +{"workflow":"appstore-build-publish.yml","sha256":"1117edf2be41ba16b031d5aab462ab557c7c664d3cb904e6ed7a2e816f1f7dc4","catalog_commit":"17d9c0eb7b1beb69e3aaab996dd1ac133e805c75"} {"workflow":"block-unconventional-commits.yml","sha256":"682899d221aa96cd1ad93c3cf46970205a083e49e45d9405b86f4b732a350cea","catalog_commit":"ab9c5cd13f86023b749b67af2934647d7371fbde"} {"workflow":"first-merged-pr-comment.yml","sha256":"31225cc5fc20b0ec7d77aa35fb795a4bcbea078701b805f5e581d475951689a9","catalog_commit":"ab9c5cd13f86023b749b67af2934647d7371fbde"} {"workflow":"lint-eslint.yml","sha256":"4c4dd7a4aa128713a3c6765fc078fb7bb97ffbecec1e8ce1a86a146753be74e0","catalog_commit":"ab9c5cd13f86023b749b67af2934647d7371fbde"} @@ -19,4 +19,4 @@ {"workflow":"prepare-release.yml","sha256":"02343393c3a59dc125bd640e00e73bae97b8981678dde658535aa0dc85347d2e","catalog_commit":"ab9c5cd13f86023b749b67af2934647d7371fbde"} {"workflow":"psalm.yml","sha256":"96e71e6140d9d8b8684d95c5cfbd9038005eb21e6ef9a6dad5d83dc755af3637","catalog_commit":"ab9c5cd13f86023b749b67af2934647d7371fbde"} {"workflow":"reuse.yml","sha256":"f563735e1a573cca3acb2975321ee760e5d52cb6ca64bfcc11a5da4ae0f9bf73","catalog_commit":"ab9c5cd13f86023b749b67af2934647d7371fbde"} -{"workflow":"sync-workflow-templates.yml","sha256":"be4a15cf5b8ec4a50526c03b44c67a03bab5e1265ebdc9afd5e3cb8c3825a6e5","catalog_commit":"8b97fa506f8e8cbfd4e0fc570b5ae8565831d1f0"} +{"workflow":"sync-workflow-templates.yml","sha256":"be4a15cf5b8ec4a50526c03b44c67a03bab5e1265ebdc9afd5e3cb8c3825a6e5","catalog_commit":"17d9c0eb7b1beb69e3aaab996dd1ac133e805c75"} diff --git a/.github/workflows/appstore-build-publish.yml b/.github/workflows/appstore-build-publish.yml index 3c8c62a9ea..0942f217e4 100644 --- a/.github/workflows/appstore-build-publish.yml +++ b/.github/workflows/appstore-build-publish.yml @@ -26,7 +26,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Build and publish release - uses: LibreCodeCoop/.github/actions/nextcloud-appstore-publish@cf5e78c9eea659385f06c232a6f449c343c41ef6 # PHP 8.5 publisher + uses: LibreCodeCoop/.github/actions/nextcloud-appstore-publish@c0003b53593492222bc830b738c3b033eb0f4948 # PHP 8.5 publisher with: app-name: ${{ github.event.repository.name }} release-tag: ${{ github.event_name == 'workflow_dispatch' && inputs.release_tag || github.event.release.tag_name }} From 869365462aceb3589162ee00d05374b83b1a4926 Mon Sep 17 00:00:00 2001 From: Vitor Mattos <1079143+vitormattos@users.noreply.github.com> Date: Thu, 5 Nov 2026 02:45:52 +0000 Subject: [PATCH 4/7] ci: synchronize published release-tool v0.12.0 workflow catalog Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com> --- .github/actions-lock.txt | 8 ++++---- .github/workflows/appstore-build-publish.yml | 2 +- .github/workflows/nightly-release.yml | 8 ++++---- .github/workflows/prepare-release.yml | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/actions-lock.txt b/.github/actions-lock.txt index 44c94475c1..7b6cf74089 100644 --- a/.github/actions-lock.txt +++ b/.github/actions-lock.txt @@ -3,7 +3,7 @@ # workflow-lock-schema: 3 -{"workflow":"appstore-build-publish.yml","sha256":"1117edf2be41ba16b031d5aab462ab557c7c664d3cb904e6ed7a2e816f1f7dc4","catalog_commit":"17d9c0eb7b1beb69e3aaab996dd1ac133e805c75"} +{"workflow":"appstore-build-publish.yml","sha256":"d5eb954abc410131cad32150ce24fa407dac0781d6b41c666b4a6655398e48d6","catalog_commit":"93e0ee486717b2a90f443f4ccac36640801a1a39"} {"workflow":"block-unconventional-commits.yml","sha256":"682899d221aa96cd1ad93c3cf46970205a083e49e45d9405b86f4b732a350cea","catalog_commit":"ab9c5cd13f86023b749b67af2934647d7371fbde"} {"workflow":"first-merged-pr-comment.yml","sha256":"31225cc5fc20b0ec7d77aa35fb795a4bcbea078701b805f5e581d475951689a9","catalog_commit":"ab9c5cd13f86023b749b67af2934647d7371fbde"} {"workflow":"lint-eslint.yml","sha256":"4c4dd7a4aa128713a3c6765fc078fb7bb97ffbecec1e8ce1a86a146753be74e0","catalog_commit":"ab9c5cd13f86023b749b67af2934647d7371fbde"} @@ -12,11 +12,11 @@ {"workflow":"lint-php.yml","sha256":"f7049c6cce3f7dda9a4e99845029928631f61fa091ecc0595b1ae5b3b40e97cd","catalog_commit":"ab9c5cd13f86023b749b67af2934647d7371fbde"} {"workflow":"lint-stylelint.yml","sha256":"fefbc7b9e21c7a3d5e3ece53d8232c7e3d1f8aa7f76f1c32618b80fd456dd79c","catalog_commit":"ab9c5cd13f86023b749b67af2934647d7371fbde"} {"workflow":"lint-typescript.yml","sha256":"43b053d26ce5f5e3eb3486dd908c367da09a3495511ee523494ceae7f12908d9","catalog_commit":"ab9c5cd13f86023b749b67af2934647d7371fbde"} -{"workflow":"nightly-release.yml","sha256":"38df53a8299b2f2c28c1f4b78df8af1f31356adfce294ba7928a83248a205433","catalog_commit":"88d78b8ad56e56dc9d8d9544994ace0561319ec8"} +{"workflow":"nightly-release.yml","sha256":"c8d46f4917ffad7d1e0dce740d696aa2cf882ac49cdc32b182a6c131d2b38e0d","catalog_commit":"93e0ee486717b2a90f443f4ccac36640801a1a39"} {"workflow":"node-test.yml","sha256":"f5361a5948f22dbd1bdf64fe112dfbbed0710af6e69239e09d0d6eb12c51b68d","catalog_commit":"ab9c5cd13f86023b749b67af2934647d7371fbde"} {"workflow":"npm-build.yml","sha256":"e697a4f28b0a433d1db46383158ce3c7e0dd128f6c64118a251cc43653c57afa","catalog_commit":"ab9c5cd13f86023b749b67af2934647d7371fbde"} {"workflow":"openapi.yml","sha256":"293316b8e7ebc4f705df2e75df5815a056308936584c3f9dcd0db0580779773a","catalog_commit":"ab9c5cd13f86023b749b67af2934647d7371fbde"} -{"workflow":"prepare-release.yml","sha256":"02343393c3a59dc125bd640e00e73bae97b8981678dde658535aa0dc85347d2e","catalog_commit":"ab9c5cd13f86023b749b67af2934647d7371fbde"} +{"workflow":"prepare-release.yml","sha256":"cf0be036dcb62669e489bcefea915564bebd737c513c6c9aa843bf46f06c4cd8","catalog_commit":"93e0ee486717b2a90f443f4ccac36640801a1a39"} {"workflow":"psalm.yml","sha256":"96e71e6140d9d8b8684d95c5cfbd9038005eb21e6ef9a6dad5d83dc755af3637","catalog_commit":"ab9c5cd13f86023b749b67af2934647d7371fbde"} {"workflow":"reuse.yml","sha256":"f563735e1a573cca3acb2975321ee760e5d52cb6ca64bfcc11a5da4ae0f9bf73","catalog_commit":"ab9c5cd13f86023b749b67af2934647d7371fbde"} -{"workflow":"sync-workflow-templates.yml","sha256":"be4a15cf5b8ec4a50526c03b44c67a03bab5e1265ebdc9afd5e3cb8c3825a6e5","catalog_commit":"17d9c0eb7b1beb69e3aaab996dd1ac133e805c75"} +{"workflow":"sync-workflow-templates.yml","sha256":"be4a15cf5b8ec4a50526c03b44c67a03bab5e1265ebdc9afd5e3cb8c3825a6e5","catalog_commit":"93e0ee486717b2a90f443f4ccac36640801a1a39"} diff --git a/.github/workflows/appstore-build-publish.yml b/.github/workflows/appstore-build-publish.yml index 0942f217e4..fe6a4c54eb 100644 --- a/.github/workflows/appstore-build-publish.yml +++ b/.github/workflows/appstore-build-publish.yml @@ -26,7 +26,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Build and publish release - uses: LibreCodeCoop/.github/actions/nextcloud-appstore-publish@c0003b53593492222bc830b738c3b033eb0f4948 # PHP 8.5 publisher + uses: LibreCodeCoop/.github/actions/nextcloud-appstore-publish@2e9097e9448d4a4b53101078d569c57dc9970e7b # PHP 8.5 publisher with: app-name: ${{ github.event.repository.name }} release-tag: ${{ github.event_name == 'workflow_dispatch' && inputs.release_tag || github.event.release.tag_name }} diff --git a/.github/workflows/nightly-release.yml b/.github/workflows/nightly-release.yml index ec6000a6f5..8aff65f297 100644 --- a/.github/workflows/nightly-release.yml +++ b/.github/workflows/nightly-release.yml @@ -29,7 +29,7 @@ jobs: steps: - id: stable name: Resolve stable release line - uses: LibreCodeCoop/release-tool/actions/stable-select@30ba5d8a33089331d829f586546d34cd45a529d7 # v0.11.21 + uses: LibreCodeCoop/release-tool/actions/stable-select@51355769089a6796c23d6c966108afbdaf858c32 # v0.12.0 with: github-token: ${{ github.token }} @@ -62,7 +62,7 @@ jobs: - name: Inspect checked-out stable metadata id: build_metadata - uses: LibreCodeCoop/release-tool/actions/build-inspect@30ba5d8a33089331d829f586546d34cd45a529d7 # v0.11.21 + uses: LibreCodeCoop/release-tool/actions/build-inspect@51355769089a6796c23d6c966108afbdaf858c32 # v0.12.0 with: root: ${{ env.APP_NAME }} @@ -200,7 +200,7 @@ jobs: tar -zcf "${APP_NAME}.tar.gz" "${APP_NAME}" - name: Validate release artifact - uses: LibreCodeCoop/release-tool/actions/artifact-validate@30ba5d8a33089331d829f586546d34cd45a529d7 # v0.11.21 + uses: LibreCodeCoop/release-tool/actions/artifact-validate@51355769089a6796c23d6c966108afbdaf858c32 # v0.12.0 with: artifact: ${{ env.APP_NAME }}/build/artifacts/${{ env.APP_NAME }}.tar.gz app-name: ${{ env.APP_NAME }} @@ -226,7 +226,7 @@ jobs: - name: Build nightly change list id: release-note-changes - uses: LibreCodeCoop/release-tool/actions/release-notes@30ba5d8a33089331d829f586546d34cd45a529d7 # v0.11.21 + uses: LibreCodeCoop/release-tool/actions/release-notes@51355769089a6796c23d6c966108afbdaf858c32 # v0.12.0 with: repository: ${{ github.repository }} branch: ${{ steps.nightly.outputs.branch }} diff --git a/.github/workflows/prepare-release.yml b/.github/workflows/prepare-release.yml index b07ef9345f..b618005b34 100644 --- a/.github/workflows/prepare-release.yml +++ b/.github/workflows/prepare-release.yml @@ -87,7 +87,7 @@ jobs: git fetch --quiet origin "+refs/heads/main:refs/remotes/origin/main" - name: Prepare release - uses: LibreCodeCoop/release-tool/actions/prepare@30ba5d8a33089331d829f586546d34cd45a529d7 + uses: LibreCodeCoop/release-tool/actions/prepare@51355769089a6796c23d6c966108afbdaf858c32 # v0.12.0 with: branch: ${{ inputs.branch }} ref: ${{ inputs.ref }} @@ -132,7 +132,7 @@ jobs: git fetch --quiet --unshallow --prune origin "+refs/heads/${RELEASE_BRANCH}:refs/remotes/origin/${RELEASE_BRANCH}" "+refs/tags/*:refs/tags/*" - name: Finalize merged release - uses: LibreCodeCoop/release-tool/actions/post-merge@30ba5d8a33089331d829f586546d34cd45a529d7 + uses: LibreCodeCoop/release-tool/actions/post-merge@51355769089a6796c23d6c966108afbdaf858c32 # v0.12.0 with: pull-request-number: ${{ github.event.pull_request.number }} merger: ${{ github.event.pull_request.merged_by.login }} @@ -158,7 +158,7 @@ jobs: ref: ${{ github.event.release.tag_name }} - name: Verify publication - uses: LibreCodeCoop/release-tool/actions/publication@30ba5d8a33089331d829f586546d34cd45a529d7 + uses: LibreCodeCoop/release-tool/actions/publication@51355769089a6796c23d6c966108afbdaf858c32 # v0.12.0 with: github-release-id: ${{ github.event.release.id }} config-path: .nextcloud-release.yml From f5f3da4f15da4a61d53000bc2eb74d4bce6cb9ce Mon Sep 17 00:00:00 2001 From: Vitor Mattos <1079143+vitormattos@users.noreply.github.com> Date: Thu, 5 Nov 2026 02:46:03 +0000 Subject: [PATCH 5/7] test: keep all LibreSign release workflows on one immutable motor revision Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com> --- .github/workflows/release-metadata.yml | 2 +- .github/workflows/resume-release.yml | 4 ++-- tests/ci/release-tool-pins.bats | 14 ++++++++++++++ 3 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 tests/ci/release-tool-pins.bats diff --git a/.github/workflows/release-metadata.yml b/.github/workflows/release-metadata.yml index c8ce8ad75b..6e25f76a73 100644 --- a/.github/workflows/release-metadata.yml +++ b/.github/workflows/release-metadata.yml @@ -41,7 +41,7 @@ jobs: - id: release name: Validate release consumer - uses: LibreCodeCoop/release-tool/actions/metadata-inspect@30ba5d8a33089331d829f586546d34cd45a529d7 + uses: LibreCodeCoop/release-tool/actions/metadata-inspect@51355769089a6796c23d6c966108afbdaf858c32 # v0.12.0 with: config-path: .nextcloud-release.yml root: . diff --git a/.github/workflows/resume-release.yml b/.github/workflows/resume-release.yml index 31f4826da9..22371b8eee 100644 --- a/.github/workflows/resume-release.yml +++ b/.github/workflows/resume-release.yml @@ -31,7 +31,7 @@ jobs: steps: - id: context name: Resolve release resume context - uses: LibreCodeCoop/release-tool/actions/resume-context@30ba5d8a33089331d829f586546d34cd45a529d7 + uses: LibreCodeCoop/release-tool/actions/resume-context@51355769089a6796c23d6c966108afbdaf858c32 # v0.12.0 with: pull-request-number: ${{ inputs.pull_request_number }} github-token: ${{ secrets.GITHUB_TOKEN }} @@ -52,7 +52,7 @@ jobs: git fetch --quiet --unshallow --prune origin "+refs/heads/${RELEASE_BRANCH}:refs/remotes/origin/${RELEASE_BRANCH}" "+refs/tags/*:refs/tags/*" - name: Resume merged release finalization - uses: LibreCodeCoop/release-tool/actions/post-merge@30ba5d8a33089331d829f586546d34cd45a529d7 + uses: LibreCodeCoop/release-tool/actions/post-merge@51355769089a6796c23d6c966108afbdaf858c32 # v0.12.0 with: pull-request-number: ${{ inputs.pull_request_number }} merger: ${{ steps.context.outputs.merger }} diff --git a/tests/ci/release-tool-pins.bats b/tests/ci/release-tool-pins.bats new file mode 100644 index 0000000000..3597e2c2c6 --- /dev/null +++ b/tests/ci/release-tool-pins.bats @@ -0,0 +1,14 @@ +#!/usr/bin/env bats +# SPDX-FileCopyrightText: 2026 LibreCode coop and contributors +# SPDX-License-Identifier: AGPL-3.0-or-later + +# The central catalog selects the published release; consumers must not mix revisions. +@test "release-tool workflows use a single immutable release commit" { + local root pinned + root="$(cd "${BATS_TEST_DIRNAME}/../.." && pwd)" + pinned="$(grep -hEo 'LibreCodeCoop/release-tool/actions/[a-z-]+@[0-9a-f]{40}' \ + "${root}"/.github/workflows/*.yml | sed -E 's/.*@//' | sort -u)" + + [ "${#pinned}" -eq 40 ] + [ "${pinned}" = "51355769089a6796c23d6c966108afbdaf858c32" ] +} From d680c3d60576cb7cffbe4cf24fe10c625a52d126 Mon Sep 17 00:00:00 2001 From: Vitor Mattos <1079143+vitormattos@users.noreply.github.com> Date: Thu, 5 Nov 2026 03:18:29 +0000 Subject: [PATCH 6/7] ci: align main publisher pin and workflow lock with simplified catalog Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com> --- .github/actions-lock.txt | 8 ++++---- .github/workflows/appstore-build-publish.yml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/actions-lock.txt b/.github/actions-lock.txt index 7b6cf74089..2c1429f77c 100644 --- a/.github/actions-lock.txt +++ b/.github/actions-lock.txt @@ -3,7 +3,7 @@ # workflow-lock-schema: 3 -{"workflow":"appstore-build-publish.yml","sha256":"d5eb954abc410131cad32150ce24fa407dac0781d6b41c666b4a6655398e48d6","catalog_commit":"93e0ee486717b2a90f443f4ccac36640801a1a39"} +{"workflow":"appstore-build-publish.yml","sha256":"3b28bdc6f1a0ac04438a6d498f1425c48c79795515a35c166186f8ad54169834","catalog_commit":"01db7c406c0c445627381804f60b62c61edbf220"} {"workflow":"block-unconventional-commits.yml","sha256":"682899d221aa96cd1ad93c3cf46970205a083e49e45d9405b86f4b732a350cea","catalog_commit":"ab9c5cd13f86023b749b67af2934647d7371fbde"} {"workflow":"first-merged-pr-comment.yml","sha256":"31225cc5fc20b0ec7d77aa35fb795a4bcbea078701b805f5e581d475951689a9","catalog_commit":"ab9c5cd13f86023b749b67af2934647d7371fbde"} {"workflow":"lint-eslint.yml","sha256":"4c4dd7a4aa128713a3c6765fc078fb7bb97ffbecec1e8ce1a86a146753be74e0","catalog_commit":"ab9c5cd13f86023b749b67af2934647d7371fbde"} @@ -12,11 +12,11 @@ {"workflow":"lint-php.yml","sha256":"f7049c6cce3f7dda9a4e99845029928631f61fa091ecc0595b1ae5b3b40e97cd","catalog_commit":"ab9c5cd13f86023b749b67af2934647d7371fbde"} {"workflow":"lint-stylelint.yml","sha256":"fefbc7b9e21c7a3d5e3ece53d8232c7e3d1f8aa7f76f1c32618b80fd456dd79c","catalog_commit":"ab9c5cd13f86023b749b67af2934647d7371fbde"} {"workflow":"lint-typescript.yml","sha256":"43b053d26ce5f5e3eb3486dd908c367da09a3495511ee523494ceae7f12908d9","catalog_commit":"ab9c5cd13f86023b749b67af2934647d7371fbde"} -{"workflow":"nightly-release.yml","sha256":"c8d46f4917ffad7d1e0dce740d696aa2cf882ac49cdc32b182a6c131d2b38e0d","catalog_commit":"93e0ee486717b2a90f443f4ccac36640801a1a39"} +{"workflow":"nightly-release.yml","sha256":"c8d46f4917ffad7d1e0dce740d696aa2cf882ac49cdc32b182a6c131d2b38e0d","catalog_commit":"01db7c406c0c445627381804f60b62c61edbf220"} {"workflow":"node-test.yml","sha256":"f5361a5948f22dbd1bdf64fe112dfbbed0710af6e69239e09d0d6eb12c51b68d","catalog_commit":"ab9c5cd13f86023b749b67af2934647d7371fbde"} {"workflow":"npm-build.yml","sha256":"e697a4f28b0a433d1db46383158ce3c7e0dd128f6c64118a251cc43653c57afa","catalog_commit":"ab9c5cd13f86023b749b67af2934647d7371fbde"} {"workflow":"openapi.yml","sha256":"293316b8e7ebc4f705df2e75df5815a056308936584c3f9dcd0db0580779773a","catalog_commit":"ab9c5cd13f86023b749b67af2934647d7371fbde"} -{"workflow":"prepare-release.yml","sha256":"cf0be036dcb62669e489bcefea915564bebd737c513c6c9aa843bf46f06c4cd8","catalog_commit":"93e0ee486717b2a90f443f4ccac36640801a1a39"} +{"workflow":"prepare-release.yml","sha256":"cf0be036dcb62669e489bcefea915564bebd737c513c6c9aa843bf46f06c4cd8","catalog_commit":"01db7c406c0c445627381804f60b62c61edbf220"} {"workflow":"psalm.yml","sha256":"96e71e6140d9d8b8684d95c5cfbd9038005eb21e6ef9a6dad5d83dc755af3637","catalog_commit":"ab9c5cd13f86023b749b67af2934647d7371fbde"} {"workflow":"reuse.yml","sha256":"f563735e1a573cca3acb2975321ee760e5d52cb6ca64bfcc11a5da4ae0f9bf73","catalog_commit":"ab9c5cd13f86023b749b67af2934647d7371fbde"} -{"workflow":"sync-workflow-templates.yml","sha256":"be4a15cf5b8ec4a50526c03b44c67a03bab5e1265ebdc9afd5e3cb8c3825a6e5","catalog_commit":"93e0ee486717b2a90f443f4ccac36640801a1a39"} +{"workflow":"sync-workflow-templates.yml","sha256":"be4a15cf5b8ec4a50526c03b44c67a03bab5e1265ebdc9afd5e3cb8c3825a6e5","catalog_commit":"01db7c406c0c445627381804f60b62c61edbf220"} diff --git a/.github/workflows/appstore-build-publish.yml b/.github/workflows/appstore-build-publish.yml index fe6a4c54eb..03b0dec905 100644 --- a/.github/workflows/appstore-build-publish.yml +++ b/.github/workflows/appstore-build-publish.yml @@ -26,7 +26,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Build and publish release - uses: LibreCodeCoop/.github/actions/nextcloud-appstore-publish@2e9097e9448d4a4b53101078d569c57dc9970e7b # PHP 8.5 publisher + uses: LibreCodeCoop/.github/actions/nextcloud-appstore-publish@8828d1047c31ac1c6bf1998436b2a73e7e5c6288 # PHP 8.5 publisher with: app-name: ${{ github.event.repository.name }} release-tag: ${{ github.event_name == 'workflow_dispatch' && inputs.release_tag || github.event.release.tag_name }} From 70a691acb0a27b942a2e5bc3ed5bb5074783b4e1 Mon Sep 17 00:00:00 2001 From: Vitor Mattos <1079143+vitormattos@users.noreply.github.com> Date: Thu, 5 Nov 2026 03:24:14 +0000 Subject: [PATCH 7/7] test: remove redundant release-tool pin assertion from LibreSign Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com> --- tests/ci/release-tool-pins.bats | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 tests/ci/release-tool-pins.bats diff --git a/tests/ci/release-tool-pins.bats b/tests/ci/release-tool-pins.bats deleted file mode 100644 index 3597e2c2c6..0000000000 --- a/tests/ci/release-tool-pins.bats +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env bats -# SPDX-FileCopyrightText: 2026 LibreCode coop and contributors -# SPDX-License-Identifier: AGPL-3.0-or-later - -# The central catalog selects the published release; consumers must not mix revisions. -@test "release-tool workflows use a single immutable release commit" { - local root pinned - root="$(cd "${BATS_TEST_DIRNAME}/../.." && pwd)" - pinned="$(grep -hEo 'LibreCodeCoop/release-tool/actions/[a-z-]+@[0-9a-f]{40}' \ - "${root}"/.github/workflows/*.yml | sed -E 's/.*@//' | sort -u)" - - [ "${#pinned}" -eq 40 ] - [ "${pinned}" = "51355769089a6796c23d6c966108afbdaf858c32" ] -}