You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by "jamesfredley (via GitHub)" <gi...@apache.org> on 2026/09/03 00:49:17 UTC

[PR] Keep local publish queue; rely on deploy-github-pages@asf for cross-repo races [grails-forge-ui]

jamesfredley opened a new pull request, #175:
URL: https://github.com/apache/grails-forge-ui/pull/175

   ## Summary
   
   - This repo already publishes with `apache/grails-github-actions/deploy-github-pages@asf`. After [apache/grails-github-actions#110](https://github.com/apache/grails-github-actions/pull/110), that action retries genuine non-fast-forward races on `apache/grails-website` (rebase the unpublished commit, never force-push).
   - Unlike grails-core docs jobs, every Forge UI run purges and rewrites the same `start/` path. The repository-local `publish-grails-forge-ui` concurrency group is kept so two `main` publishes cannot overwrite `/start` out of order. GitHub concurrency groups are repo-scoped and cannot replace #110 for grails-core / grails-static-website.
   - Cross-repo push still requires `GH_TOKEN: ${{ secrets.GRAILS_GHTOKEN }}`. The default `GITHUB_TOKEN` cannot write `apache/grails-website`. Job `permissions: contents: write` is unchanged as the action's same-repo fallback. `GRAILS_GHTOKEN` is not a repo-level secret visible here; it is the same org/environment PAT grails-core and grails-static-website already use, and the last Publish run on `main` succeeded.
   
   ## Test plan
   
   - [ ] Confirm `.github/workflows/publish.yml` still calls `deploy-github-pages@asf` with `TARGET_REPOSITORY: apache/grails-website`, `LAST_SNAPSHOT_FOLDER: start`, and `GRAILS_GHTOKEN`.
   - [ ] Confirm the `publish-grails-forge-ui` concurrency group remains (`cancel-in-progress: false`).
   - [ ] After merge, run Publish via `workflow_dispatch` and verify https://grails.apache.org/start/ updates.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@grails.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Keep local publish queue; rely on deploy-github-pages@asf for cross-repo races [grails-forge-ui]

Posted by "jamesfredley (via GitHub)" <gi...@apache.org>.
jamesfredley merged PR #175:
URL: https://github.com/apache/grails-forge-ui/pull/175


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@grails.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org