diff --git a/.github/workflows/publish-workflow-catalog.yml b/.github/workflows/catalog-publish.yml similarity index 98% rename from .github/workflows/publish-workflow-catalog.yml rename to .github/workflows/catalog-publish.yml index 9551d95..94a1b2e 100644 --- a/.github/workflows/publish-workflow-catalog.yml +++ b/.github/workflows/catalog-publish.yml @@ -12,7 +12,7 @@ on: - 'workflow-templates/**' - 'workflow-catalog.json' - 'scripts/sync_catalog.py' - - '.github/workflows/publish-workflow-catalog.yml' + - '.github/workflows/catalog-publish.yml' permissions: contents: read diff --git a/.github/workflows/setup-release-tool-smoke.yml b/.github/workflows/release-tool-smoke.yml similarity index 72% rename from .github/workflows/setup-release-tool-smoke.yml rename to .github/workflows/release-tool-smoke.yml index 5603135..0535a56 100644 --- a/.github/workflows/setup-release-tool-smoke.yml +++ b/.github/workflows/release-tool-smoke.yml @@ -1,20 +1,20 @@ # SPDX-FileCopyrightText: 2026 LibreCode coop and contributors # SPDX-License-Identifier: AGPL-3.0-or-later -name: release-tool setup smoke +name: Release tool setup smoke test on: pull_request: paths: - - 'actions/setup-release-tool/**' - - 'tests/test_setup_release_tool_action.py' - - '.github/workflows/setup-release-tool-smoke.yml' + - 'actions/release-tool-setup/**' + - 'tests/test_release_tool_setup_action.py' + - '.github/workflows/release-tool-smoke.yml' push: branches: - main paths: - - 'actions/setup-release-tool/**' - - '.github/workflows/setup-release-tool-smoke.yml' + - 'actions/release-tool-setup/**' + - '.github/workflows/release-tool-smoke.yml' permissions: contents: read @@ -32,7 +32,7 @@ jobs: php-version: '8.3' coverage: none - id: release-tool - uses: $/actions/setup-release-tool + uses: $/actions/release-tool-setup with: version: '0.1.0' - name: Verify installed PHAR diff --git a/.github/workflows/release.yml b/.github/workflows/repository-release.yml similarity index 98% rename from .github/workflows/release.yml rename to .github/workflows/repository-release.yml index 0822eac..5ad9d4c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/repository-release.yml @@ -1,7 +1,7 @@ # SPDX-FileCopyrightText: 2026 LibreCode coop and contributors # SPDX-License-Identifier: AGPL-3.0-or-later -name: Release +name: Publish github-workflows on: push: diff --git a/.github/workflows/refresh-upstream.yml b/.github/workflows/upstream-refresh.yml similarity index 98% rename from .github/workflows/refresh-upstream.yml rename to .github/workflows/upstream-refresh.yml index 411b003..13cf6a5 100644 --- a/.github/workflows/refresh-upstream.yml +++ b/.github/workflows/upstream-refresh.yml @@ -12,7 +12,7 @@ on: - 'upstream/sources.json' - 'upstream/templates.json' - 'patches/nextcloud/**' - - '.github/workflows/refresh-upstream.yml' + - '.github/workflows/upstream-refresh.yml' schedule: - cron: '17 3 * * 0' diff --git a/VERSION b/VERSION index 1d0ba9e..8f0916f 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.4.0 +0.5.0 diff --git a/actions/restore-release-artifact/action.yml b/actions/release-artifact-restore/action.yml similarity index 100% rename from actions/restore-release-artifact/action.yml rename to actions/release-artifact-restore/action.yml diff --git a/actions/validate-release-artifact/action.yml b/actions/release-artifact-validate/action.yml similarity index 100% rename from actions/validate-release-artifact/action.yml rename to actions/release-artifact-validate/action.yml diff --git a/actions/check-release-authorization/action.yml b/actions/release-authorization/action.yml similarity index 100% rename from actions/check-release-authorization/action.yml rename to actions/release-authorization/action.yml diff --git a/actions/validate-release-consumer/action.yml b/actions/release-consumer-validate/action.yml similarity index 97% rename from actions/validate-release-consumer/action.yml rename to actions/release-consumer-validate/action.yml index 7bee24f..85ff8f6 100644 --- a/actions/validate-release-consumer/action.yml +++ b/actions/release-consumer-validate/action.yml @@ -40,7 +40,7 @@ runs: steps: - id: setup name: Setup release-tool - uses: $/actions/setup-release-tool + uses: $/actions/release-tool-setup - id: validate name: Validate release consumer diff --git a/actions/validate-release-consumer/validate.sh b/actions/release-consumer-validate/validate.sh similarity index 100% rename from actions/validate-release-consumer/validate.sh rename to actions/release-consumer-validate/validate.sh diff --git a/actions/release-plan/action.yml b/actions/release-plan/action.yml index 934dcf2..1a186e9 100644 --- a/actions/release-plan/action.yml +++ b/actions/release-plan/action.yml @@ -66,7 +66,7 @@ runs: steps: - id: setup name: Setup release-tool - uses: $/actions/setup-release-tool + uses: $/actions/release-tool-setup - id: plan name: Build ReleasePlan v1 diff --git a/actions/release-post-merge/action.yml b/actions/release-post-merge/action.yml index 1924a07..af2c1eb 100644 --- a/actions/release-post-merge/action.yml +++ b/actions/release-post-merge/action.yml @@ -51,7 +51,7 @@ runs: steps: - id: restore name: Restore preparation contracts - uses: $/actions/restore-release-artifact + uses: $/actions/release-artifact-restore with: repository: ${{ github.repository }} artifact-name: release-preparation-pr-${{ inputs.pull-request-number }} @@ -62,7 +62,7 @@ runs: - id: setup name: Setup release-tool - uses: $/actions/setup-release-tool + uses: $/actions/release-tool-setup - id: authorization-config name: Read merge authorization policy @@ -78,7 +78,7 @@ runs: echo "minimum-permission=${minimum_permission}" >> "${GITHUB_OUTPUT}" - name: Authorize release PR merger - uses: $/actions/check-release-authorization + uses: $/actions/release-authorization with: repository: ${{ github.repository }} actor: ${{ inputs.merger }} diff --git a/actions/release-prepare/action.yml b/actions/release-prepare/action.yml index f6983df..9a99a61 100644 --- a/actions/release-prepare/action.yml +++ b/actions/release-prepare/action.yml @@ -102,7 +102,7 @@ runs: echo "minimum-permission=${minimum_permission}" >> "${GITHUB_OUTPUT}" - name: Authorize preparation actor - uses: $/actions/check-release-authorization + uses: $/actions/release-authorization with: repository: ${{ github.repository }} actor: ${{ inputs.actor }} diff --git a/actions/release-publication/action.yml b/actions/release-publication/action.yml index 4a2feef..c76028a 100644 --- a/actions/release-publication/action.yml +++ b/actions/release-publication/action.yml @@ -40,7 +40,7 @@ runs: using: composite steps: - name: Restore finalized release state - uses: $/actions/restore-release-artifact + uses: $/actions/release-artifact-restore with: repository: ${{ github.repository }} artifact-name: release-state-${{ inputs.github-release-id }} @@ -51,7 +51,7 @@ runs: - id: setup name: Setup release-tool - uses: $/actions/setup-release-tool + uses: $/actions/release-tool-setup - id: verify name: Wait for publication verification diff --git a/actions/setup-release-tool/action.yml b/actions/release-tool-setup/action.yml similarity index 100% rename from actions/setup-release-tool/action.yml rename to actions/release-tool-setup/action.yml diff --git a/actions/setup-release-tool/release-tool-version b/actions/release-tool-setup/release-tool-version similarity index 100% rename from actions/setup-release-tool/release-tool-version rename to actions/release-tool-setup/release-tool-version diff --git a/actions/setup-release-tool/release-tool-version.license b/actions/release-tool-setup/release-tool-version.license similarity index 100% rename from actions/setup-release-tool/release-tool-version.license rename to actions/release-tool-setup/release-tool-version.license diff --git a/actions/setup-release-tool/setup.sh b/actions/release-tool-setup/setup.sh similarity index 100% rename from actions/setup-release-tool/setup.sh rename to actions/release-tool-setup/setup.sh diff --git a/tests/test_validate_release_consumer_action.py b/tests/test_release_consumer_validate_action.py similarity index 93% rename from tests/test_validate_release_consumer_action.py rename to tests/test_release_consumer_validate_action.py index 1c440da..a91c38b 100644 --- a/tests/test_validate_release_consumer_action.py +++ b/tests/test_release_consumer_validate_action.py @@ -8,15 +8,15 @@ from pathlib import Path ROOT = Path(__file__).resolve().parents[1] -ACTION = ROOT / "actions" / "validate-release-consumer" / "action.yml" -SCRIPT = ROOT / "actions" / "validate-release-consumer" / "validate.sh" +ACTION = ROOT / "actions" / "release-consumer-validate" / "action.yml" +SCRIPT = ROOT / "actions" / "release-consumer-validate" / "validate.sh" class ValidateReleaseConsumerActionTest(unittest.TestCase): def test_action_wraps_setup_and_exposes_normalized_outputs(self) -> None: content = ACTION.read_text(encoding="utf-8") - self.assertIn("uses: $/actions/setup-release-tool", content) + self.assertIn("uses: $/actions/release-tool-setup", content) for output in ( "version:", "major:", diff --git a/tests/test_release_plan_action.py b/tests/test_release_plan_action.py index 470d53e..8e09f7b 100644 --- a/tests/test_release_plan_action.py +++ b/tests/test_release_plan_action.py @@ -13,7 +13,7 @@ class ReleasePlanActionTest(unittest.TestCase): def test_action_uses_exact_verified_release_tool(self) -> None: content = ACTION.read_text(encoding="utf-8") - self.assertIn("uses: $/actions/setup-release-tool", content) + self.assertIn("uses: $/actions/release-tool-setup", content) self.assertNotIn("with:\n version:", content) self.assertIn("release:plan", content) self.assertIn("--release-version", content) diff --git a/tests/test_release_post_merge_action.py b/tests/test_release_post_merge_action.py index 1925271..79aa9c6 100644 --- a/tests/test_release_post_merge_action.py +++ b/tests/test_release_post_merge_action.py @@ -6,7 +6,7 @@ ROOT = Path(__file__).resolve().parents[1] ACTION = ROOT / "actions" / "release-post-merge" / "action.yml" -RESTORE = ROOT / "actions" / "restore-release-artifact" / "action.yml" +RESTORE = ROOT / "actions" / "release-artifact-restore" / "action.yml" class ReleasePostMergeActionTest(unittest.TestCase): diff --git a/tests/test_release_prepare_action.py b/tests/test_release_prepare_action.py index fb7bc69..6982cd6 100644 --- a/tests/test_release_prepare_action.py +++ b/tests/test_release_prepare_action.py @@ -21,7 +21,7 @@ def test_prepare_composes_policy_contracts_and_scoped_mutation(self) -> None: self.assertIn("$/actions/release-plan", content) self.assertIn("config:validate", content) self.assertIn("prepare_min_permission", content) - self.assertIn("$/actions/check-release-authorization", content) + self.assertIn("$/actions/release-authorization", content) self.assertIn("actions/create-github-app-token@67018539274d69449ef7c02e8e71183d1719ab42", content) self.assertIn("permission-contents: write", content) self.assertIn("permission-pull-requests: write", content) diff --git a/tests/test_setup_release_tool_action.py b/tests/test_release_tool_setup_action.py similarity index 96% rename from tests/test_setup_release_tool_action.py rename to tests/test_release_tool_setup_action.py index c967608..e100065 100644 --- a/tests/test_setup_release_tool_action.py +++ b/tests/test_release_tool_setup_action.py @@ -8,9 +8,9 @@ from pathlib import Path ROOT = Path(__file__).resolve().parents[1] -SCRIPT = ROOT / "actions" / "setup-release-tool" / "setup.sh" -ACTION = ROOT / "actions" / "setup-release-tool" / "action.yml" -VERSION = ROOT / "actions" / "setup-release-tool" / "release-tool-version" +SCRIPT = ROOT / "actions" / "release-tool-setup" / "setup.sh" +ACTION = ROOT / "actions" / "release-tool-setup" / "action.yml" +VERSION = ROOT / "actions" / "release-tool-setup" / "release-tool-version" class SetupReleaseToolActionTest(unittest.TestCase):