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 2026/10/21 14:15:25 UTC

(grails-core) 01/01: Merge pull request #16673 from apache/ci/conserve-actions-minutes

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

commit 74db23c3e073351764d68842e926c817da8f05c7
Merge: 0a22d3033f b9423fb2d1
Author: James Daugherty <jd...@jdresources.net>
AuthorDate: Wed Oct 21 10:13:51 2026 -0400

    Merge pull request #16673 from apache/ci/conserve-actions-minutes
    
    Gate CI through one policy: draft and no-ci pull requests, tests by branch and marker

 .github/workflows/build-health.yml          |  15 +++
 .github/workflows/ci-policy.yml             | 142 ++++++++++++++++++++++++++++
 .github/workflows/codeql.yml                |   7 ++
 .github/workflows/codestyle.yml             |  15 +++
 .github/workflows/gradle.yml                | 102 ++++++++++++++++----
 .github/workflows/groovy-joint-workflow.yml |  25 ++++-
 .github/workflows/rat.yml                   |   7 ++
 .github/workflows/vulnerability-scan.yml    |   6 +-
 AGENTS.md                                   |  12 +++
 CONTRIBUTING.md                             |  19 ++++
 RELEASE.md                                  |   8 ++
 11 files changed, 336 insertions(+), 22 deletions(-)

diff --cc .github/workflows/gradle.yml
index 83541bb020,dde4bd96a1..f2354737c7
--- a/.github/workflows/gradle.yml
+++ b/.github/workflows/gradle.yml
@@@ -423,13 -454,10 +454,14 @@@ jobs
            -PredisContainerVersion=${{ matrix.redis-version }}
            -PskipCodeStyle
    mongodbFunctional:
-     if: ${{ !contains(github.event.head_commit.message, '[skip tests]') }}
+     needs: [ policy ]
+     if: ${{ needs.policy.outputs.run-tests == 'true' }}
      name: "Mongodb Functional Tests"
 -    runs-on: ubuntu-24.04
 +    # ubuntu-22.04 while https://github.com/actions/runner-images/issues/15005 is open: the ubuntu-24.04 image 20261018.339
 +    # ships kernel 7.0.0-1017-azure, which MongoDB 8.0 reads as 7.0.0 and refuses to start on (it exits on 6.19.0 through
 +    # 7.0.13), so every mongo:8.0 container of the MongoDB 8.0 lane dies before "waiting for connections". The ubuntu-22.04
 +    # image runs kernel 6.8. Move back to ubuntu-24.04 once the issue is resolved or mongo:8.0 is 8.0.35 or newer.
 +    runs-on: ubuntu-22.04
      strategy:
        fail-fast: false
        matrix: