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

mridulpathak pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 1953858e36 Improved: Pin Scorecard upload-sarif to a codeql-action 
release instead of a main-branch commit
1953858e36 is described below

commit 1953858e36f9ab52c30371050d2c97fd899b2374
Author: Mridul Pathak <[email protected]>
AuthorDate: Wed Oct 14 14:22:35 2026 +0530

    Improved: Pin Scorecard upload-sarif to a codeql-action release instead of 
a main-branch commit
    
    The upload-sarif step was pinned to a commit on codeql-action's main branch 
with a stale "v2.16.2" comment. For a SHA pin that isn't a release tag commit, 
Dependabot follows the head of the branch containing it, so it opened a PR for 
almost every main commit (32 since mid-July, against 13 v4 releases). Pinning 
to the v4.38.3 release commit makes Dependabot move from release to release and 
keep the version comment current, in step with the init/analyze actions in 
codeql-analysis.yml.
---
 .github/workflows/scorecard.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml
index 02e0590f3a..bc82df719c 100644
--- a/.github/workflows/scorecard.yml
+++ b/.github/workflows/scorecard.yml
@@ -103,6 +103,6 @@ jobs:
       # Upload the results to GitHub's code scanning dashboard.
       - name: "Upload to code-scanning"
         if: ${{ !env.ACT }}
-        uses: 
github/codeql-action/upload-sarif@eb94de7c5cfc51dc10fff26d52210eb23a589b0e # 
v2.16.2
+        uses: 
github/codeql-action/upload-sarif@24c54180a607b1449ed407dd24f251e4e9147c8d # 
v4.38.3
         with:
           sarif_file: results.sarif

Reply via email to