You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by ja...@apache.org on 2025/05/06 15:00:10 UTC

(grails-core) branch rat-adjustments created (now 17badb3662)

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

jamesfredley pushed a change to branch rat-adjustments
in repository https://gitbox.apache.org/repos/asf/grails-core.git


      at 17badb3662 Make rat task lazily configured

This branch includes the following new commits:

     new f4a3627f84 Remove permission that is defaulted
     new 17badb3662 Make rat task lazily configured

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(grails-core) 01/02: Remove permission that is defaulted

Posted by ja...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jamesfredley pushed a commit to branch rat-adjustments
in repository https://gitbox.apache.org/repos/asf/grails-core.git

commit f4a3627f849ec46d5c2eaf06de8b4ddb255a2f94
Author: James Fredley <ja...@users.noreply.github.com>
AuthorDate: Tue May 6 10:55:56 2025 -0400

    Remove permission that is defaulted
---
 .github/workflows/rat.yml | 2 --
 1 file changed, 2 deletions(-)

diff --git a/.github/workflows/rat.yml b/.github/workflows/rat.yml
index 33d84a721e..db9e228253 100644
--- a/.github/workflows/rat.yml
+++ b/.github/workflows/rat.yml
@@ -28,8 +28,6 @@ on:
   workflow_dispatch:
 jobs:
   rat-audit:
-    permissions:
-      contents: read  #  to fetch code (actions/checkout)
     runs-on: ubuntu-latest
     steps:
       - name: "📥 Checkout repository"


(grails-core) 02/02: Make rat task lazily configured

Posted by ja...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jamesfredley pushed a commit to branch rat-adjustments
in repository https://gitbox.apache.org/repos/asf/grails-core.git

commit 17badb366204bffd66c1b547674a8b671d0729bf
Author: James Fredley <ja...@users.noreply.github.com>
AuthorDate: Tue May 6 11:00:00 2025 -0400

    Make rat task lazily configured
---
 gradle/rat-root-config.gradle | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gradle/rat-root-config.gradle b/gradle/rat-root-config.gradle
index 621c806db5..f985436c5d 100644
--- a/gradle/rat-root-config.gradle
+++ b/gradle/rat-root-config.gradle
@@ -17,8 +17,8 @@
 
 apply plugin: 'org.nosphere.apache.rat'
 
-tasks.named('rat') {
-    excludes = [
+tasks.named('rat').configure {
+    it.excludes = [
             '.asf.yaml', // ASF metadata for github integration excluded from src zip
             '**/build/**', // Gradle generated build directories
             '**/.gradle/**', '**/wrapper/**', 'gradlew*',  // gradle wrapper files excluded from src zip