krb5 commit: Update upload action versions in CI scripts

ghudson at mit.edu ghudson at mit.edu
Thu Oct 10 10:32:16 EDT 2024


https://github.com/krb5/krb5/commit/177d750222b758f5f5769c727340d12bfcd79488
commit 177d750222b758f5f5769c727340d12bfcd79488
Author: Greg Hudson <ghudson at mit.edu>
Date:   Mon Oct 7 22:22:40 2024 -0400

    Update upload action versions in CI scripts
    
    Increment the versions of the upload actions in doc.yml and cifuzz.yml
    as documented in:
    
    https://github.blog/news-insights/product-news/get-started-with-v4-of-github-actions-artifacts/
    https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/
    
    Also fix the conditional in cifuzz.yml to react to changes in itself,
    not in build.yml.

 .github/workflows/cifuzz.yml | 4 ++--
 .github/workflows/doc.yml    | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/cifuzz.yml b/.github/workflows/cifuzz.yml
index 9d29aad0c..8e92a19e5 100644
--- a/.github/workflows/cifuzz.yml
+++ b/.github/workflows/cifuzz.yml
@@ -1,7 +1,7 @@
 name: CIFuzz
 
 on:
-    pull_request: {paths: [src/**, .github/workflows/build.yml]}
+    pull_request: {paths: [src/**, .github/workflows/cifuzz.yml]}
 
 permissions: {}
 jobs:
@@ -31,7 +31,7 @@ jobs:
             path: ./out/artifacts
         - name: Upload Sarif
           if: always() && steps.build.outcome == 'success'
-          uses: github/codeql-action/upload-sarif at v2
+          uses: github/codeql-action/upload-sarif at v3
           with:
             # Path to SARIF file relative to the root of the repository
             sarif_file: cifuzz-sarif/results.sarif
diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml
index f7f6b6b09..5b291c5b7 100644
--- a/.github/workflows/doc.yml
+++ b/.github/workflows/doc.yml
@@ -34,7 +34,7 @@ jobs:
                 cd src/doc
                 make -f Makefile.in SPHINX_ARGS=-W htmlsrc
             - name: Upload HTML
-              uses: actions/upload-artifact at v2
+              uses: actions/upload-artifact at v4
               with:
                   name: html
                   path: doc/html


More information about the cvs-krb5 mailing list