This is an automated email from the ASF dual-hosted git repository. jdaugherty pushed a commit to branch ci/document-publishing-limit in repository https://gitbox.apache.org/repos/asf/grails-core.git
commit 876db2e1a59b206a3f00fceb0247556e6233c08d Author: James Daugherty <[email protected]> AuthorDate: Thu Jul 16 08:30:27 2026 -0400 Prevent multiple publishing from running at the same time --- .github/workflows/gradle.yml | 6 ++++++ .github/workflows/release.yml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index fd01aa78d3..28f12cb662 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -758,6 +758,12 @@ jobs: if: github.repository_owner == 'apache' && github.event_name == 'push' needs: [ publish ] runs-on: ubuntu-24.04 + # Documentation publishing targets a shared resource (the apache/grails-website repo). + # Share the static group used by the release documentation publish (release.yml) so only + # one documentation publish can run at a time across every branch; the rest queue. + concurrency: + group: grails-docs-publish + cancel-in-progress: false steps: - name: "⚙️ Maximize build space" run: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5343fd1be8..951eb3a050 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -571,6 +571,12 @@ jobs: name: "VOTE SUCCEEDED - Publish Documentation" needs: [ publish, source, upload, release ] runs-on: ubuntu-24.04 + # Documentation publishing targets a shared resource (the apache/grails-website repo). + # Use a static, branch-independent group so only one documentation publish can run at a + # time across every branch and across the snapshot publish in gradle.yml; the rest queue. + concurrency: + group: grails-docs-publish + cancel-in-progress: false steps: - name: "📝 Establish release version" run: echo "VERSION=${TAG#v}" >> "$GITHUB_ENV"
