github-advanced-security[bot] commented on code in PR #10261:
URL: https://github.com/apache/ozone/pull/10261#discussion_r3234554928


##########
.github/workflows/pr-diff-coverage.yml:
##########
@@ -0,0 +1,53 @@
+name: PR Diff Coverage Verification
+
+on:
+  pull_request:
+    types: [opened, synchronize, reopened]
+
+permissions:
+  pull-requests: write
+  contents: read
+
+jobs:
+  analyze-diff-coverage:
+    runs-on: ubuntu-latest
+
+    steps:
+      # Step 1: Checkout the repo with full git history (depth: 0)
+      # This is crucial so the action can compare the PR branch against the 
target branch
+      - name: Checkout Codebase
+        uses: actions/checkout@v4

Review Comment:
   ## zizmor / 
   
   unpinned action reference
   
   [Show more details](https://github.com/apache/ozone/security/code-scanning/2)



##########
.github/workflows/pr-diff-coverage.yml:
##########
@@ -0,0 +1,53 @@
+name: PR Diff Coverage Verification
+
+on:
+  pull_request:
+    types: [opened, synchronize, reopened]
+
+permissions:
+  pull-requests: write
+  contents: read
+
+jobs:
+  analyze-diff-coverage:
+    runs-on: ubuntu-latest
+
+    steps:
+      # Step 1: Checkout the repo with full git history (depth: 0)
+      # This is crucial so the action can compare the PR branch against the 
target branch
+      - name: Checkout Codebase
+        uses: actions/checkout@v4
+        with:
+          fetch-depth: 0
+
+      # Step 2: Provision Java Runtime Environment
+      - name: Set up JDK 17
+        uses: actions/setup-java@v4

Review Comment:
   ## zizmor / 
   
   unpinned action reference
   
   [Show more details](https://github.com/apache/ozone/security/code-scanning/3)



##########
.github/workflows/pr-diff-coverage.yml:
##########
@@ -0,0 +1,53 @@
+name: PR Diff Coverage Verification
+
+on:
+  pull_request:
+    types: [opened, synchronize, reopened]
+
+permissions:
+  pull-requests: write
+  contents: read
+
+jobs:
+  analyze-diff-coverage:
+    runs-on: ubuntu-latest
+
+    steps:
+      # Step 1: Checkout the repo with full git history (depth: 0)
+      # This is crucial so the action can compare the PR branch against the 
target branch
+      - name: Checkout Codebase
+        uses: actions/checkout@v4
+        with:
+          fetch-depth: 0
+
+      # Step 2: Provision Java Runtime Environment

Review Comment:
   ## zizmor / 
   
   credential persistence through GitHub Actions artifacts
   
   [Show more details](https://github.com/apache/ozone/security/code-scanning/1)



##########
.github/workflows/pr-diff-coverage.yml:
##########
@@ -0,0 +1,53 @@
+name: PR Diff Coverage Verification
+
+on:
+  pull_request:
+    types: [opened, synchronize, reopened]
+
+permissions:
+  pull-requests: write
+  contents: read
+
+jobs:
+  analyze-diff-coverage:
+    runs-on: ubuntu-latest
+
+    steps:
+      # Step 1: Checkout the repo with full git history (depth: 0)
+      # This is crucial so the action can compare the PR branch against the 
target branch
+      - name: Checkout Codebase
+        uses: actions/checkout@v4
+        with:
+          fetch-depth: 0
+
+      # Step 2: Provision Java Runtime Environment
+      - name: Set up JDK 17
+        uses: actions/setup-java@v4
+        with:
+          java-version: '17'
+          distribution: 'temurin'
+          cache: 'maven' # Swap to 'gradle' if using Gradle
+
+      # Step 3: Compile and run tests to generate target/site/jacoco/jacoco.xml
+      - name: Execute Tests and Generate Reports
+        run: mvn clean test
+        # If using Gradle, use: ./gradlew test jacocoTestReport
+
+      # Step 4: Run the Madrapps Action to find and match the git diff
+      - name: Generate and Post Diff Coverage Report
+        uses: madrapps/[email protected]

Review Comment:
   ## zizmor / 
   
   unpinned action reference
   
   [Show more details](https://github.com/apache/ozone/security/code-scanning/4)



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to