Aman-Mittal commented on code in PR #6340:
URL: https://github.com/apache/fineract/pull/6340#discussion_r3995605570


##########
.github/workflows/build-quality-checks.yml:
##########
@@ -300,3 +300,106 @@ jobs:
 
       - name: Run Spotless
         run: ./gradlew spotlessCheck
+
+  licenses:
+    if: github.event_name == 'pull_request'
+    runs-on: ubuntu-24.04
+    timeout-minutes: 45

Review Comment:
   Reduced it to 30 minutes based on what all others are using 5-10 minutes is 
too low for CI checks and can make ci check flacky.



##########
.github/workflows/build-quality-checks.yml:
##########
@@ -300,3 +300,106 @@ jobs:
 
       - name: Run Spotless
         run: ./gradlew spotlessCheck
+
+  licenses:
+    if: github.event_name == 'pull_request'
+    runs-on: ubuntu-24.04
+    timeout-minutes: 45
+
+    env:
+      TZ: Asia/Kolkata
+      DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
+      BASE_SHA: ${{ github.event.pull_request.base.sha }}
+
+    steps:
+      # This job diffs the PR head against its target branch, so it needs
+      # real git history for a worktree checkout of BASE_SHA -- the
+      # shared-workspace-tar shortcut the other jobs use doesn't carry
+      # .git, so a plain full checkout is used here instead.
+      - name: Checkout PR head
+        uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # 
v7.0.1
+        with:
+          persist-credentials: false
+          fetch-depth: 0
+          fetch-tags: true
+
+      - name: Set up JDK 25
+        uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5

Review Comment:
   done



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to