diff --git a/.github/wiki b/.github/wiki deleted file mode 160000 index ff325b8..0000000 --- a/.github/wiki +++ /dev/null @@ -1 +0,0 @@ -Subproject commit ff325b8dc40bc3bc85ce11c51a36ee961833af00 diff --git a/.github/workflows/wiki-maintenance.yml b/.github/workflows/wiki-maintenance.yml deleted file mode 100644 index f8f15d8..0000000 --- a/.github/workflows/wiki-maintenance.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: "Fast Forward Wiki Maintenance" - -on: - pull_request_target: - types: [closed] - schedule: - - cron: '17 3 * * *' - workflow_dispatch: - -permissions: - contents: write - pull-requests: read - -concurrency: - group: fast-forward-wiki-maintenance-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true - -jobs: - maintenance: - permissions: - contents: write - pull-requests: read - # This wrapper handles merged publication to the wiki master branch plus - # preview-branch cleanup. Pull-request preview generation lives in wiki.yml. - uses: php-fast-forward/dev-tools/.github/workflows/wiki-maintenance.yml@main - secrets: inherit diff --git a/.github/workflows/wiki.yml b/.github/workflows/wiki.yml index cdf2726..0e128a9 100644 --- a/.github/workflows/wiki.yml +++ b/.github/workflows/wiki.yml @@ -1,25 +1,14 @@ -name: "Fast Forward Wiki Update" +name: Fast Forward Wiki Update on: + push: + branches: [main] pull_request: - types: [opened, synchronize, reopened] + workflow_dispatch: permissions: - actions: write - contents: write - pull-requests: read - -concurrency: - group: fast-forward-wiki-preview-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true + contents: write # Ceiling for the isolated publisher; generation remains read-only. jobs: - preview: - permissions: - actions: write - contents: write - pull-requests: read - # Pull-request wiki previews live here. Publication and preview cleanup are - # handled by the separate wiki-maintenance wrapper. - uses: php-fast-forward/dev-tools/.github/workflows/wiki-preview.yml@main - secrets: inherit + wiki: + uses: php-fast-forward/dev-tools/.github/workflows/wiki-direct.yml@a286666dfca2300fffca1ab0d3517b6294ec2c4e # dev-tools#366 diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index b34ff2f..0000000 --- a/.gitmodules +++ /dev/null @@ -1,3 +0,0 @@ -[submodule ".github/wiki"] - path = .github/wiki - url = git@github.com:php-fast-forward/framework.wiki.git diff --git a/CHANGELOG.md b/CHANGELOG.md index cbf4d11..378efc0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- Publish generated Wiki pages directly without tracking the Wiki as a Git submodule. + - Replace the mascot banner with contextual Dash artwork connecting framework modules and align README and documentation references. (#9) ### Fixed