From 71806b3490b3b79b9b144101f21e1b5ff5e87a28 Mon Sep 17 00:00:00 2001 From: Ronald Tse Date: Tue, 12 May 2026 08:25:08 +0800 Subject: [PATCH 1/2] fix: reference release workflow by SHA to bypass GitHub cache --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a604cf4..52a9e83 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,7 +21,7 @@ permissions: jobs: release: - uses: actions-mn/.github/.github/workflows/metanorma-release.yml@v1 + uses: actions-mn/.github/.github/workflows/metanorma-release.yml@1e39548 with: default-visibility: private include-pattern: ${{ github.event.inputs.include-pattern || '*' }} From db08b4dcbc4f694e0bdedd7be5b47f6d58523269 Mon Sep 17 00:00:00 2001 From: Ronald Tse Date: Tue, 12 May 2026 09:48:21 +0800 Subject: [PATCH 2/2] ci: simplify release workflow to fix reusable workflow issue --- .github/workflows/release.yml | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 52a9e83..2e3eafd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,25 +5,14 @@ on: branches: [main] paths: ['sources/**', 'metanorma.yml', 'metanorma.release.yml'] workflow_dispatch: - inputs: - include-pattern: - description: 'Glob pattern to filter documents for release' - required: false - default: '*' - force: - description: 'Force release even if content is unchanged' - required: false - type: boolean - default: false permissions: contents: write jobs: release: - uses: actions-mn/.github/.github/workflows/metanorma-release.yml@1e39548 + uses: actions-mn/.github/.github/workflows/metanorma-release.yml@main with: default-visibility: private - include-pattern: ${{ github.event.inputs.include-pattern || '*' }} - force: ${{ github.event.inputs.force || 'false' }} secrets: inherit +