You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by jd...@apache.org on 2025/05/17 16:39:11 UTC

(grails-core) branch 7.0.x updated: Add concurrency limit to prevent resource exhaustion

This is an automated email from the ASF dual-hosted git repository.

jdaugherty pushed a commit to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/grails-core.git


The following commit(s) were added to refs/heads/7.0.x by this push:
     new 9220cbe460 Add concurrency limit to prevent resource exhaustion
9220cbe460 is described below

commit 9220cbe460054559f64154188e12cf7d3d388e71
Author: James Daugherty <jd...@jdresources.net>
AuthorDate: Sat May 17 12:39:01 2025 -0400

    Add concurrency limit to prevent resource exhaustion
---
 .github/workflows/gradle.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml
index 21a34a852e..08350c145a 100644
--- a/.github/workflows/gradle.yml
+++ b/.github/workflows/gradle.yml
@@ -28,6 +28,10 @@ env:
   # To prevent throttling of GitHub API usage, include the GitHub token as an environment variable
   # as the build will use it when fetching git tags in CreateReleaseDropDown.groovy
   GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+# queue jobs and only allow 1 run per branch due to the likelihood of hitting GitHub resource limits
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: false
 jobs:
   buildGradle:
     name: 'Build Gradle Plugins'