]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
.github/workflows/releng-audit: update workflows
authorPatrick Donnelly <pdonnell@ibm.com>
Tue, 19 May 2026 14:10:33 +0000 (10:10 -0400)
committerPatrick Donnelly <pdonnell@ibm.com>
Tue, 19 May 2026 14:12:41 +0000 (10:12 -0400)
To avoid this warning:

> Warning: Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v3, actions/setup-python@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
.github/workflows/releng-audit.yaml

index 6fb507bbebf8f28fd9e725367d9cb5a23e69feae..3d53af3082896ac4397da458d13412b25b354621 100644 (file)
@@ -26,7 +26,7 @@ jobs:
     steps:
       - id: router
         name: Evaluate Workflow Routing & Overrides
-        uses: actions/github-script@v8
+        uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
         env:
           ORG_TOKEN: ${{ secrets.ORG_READ_PAT }}
         with:
@@ -49,7 +49,7 @@ jobs:
 
               if (!authorized && context.repo.owner === 'ceph' && process.env.ORG_TOKEN) {
                 try {
-                  const orgOctokit = github.getOctokit(process.env.ORG_TOKEN);
+                  const orgOctokit = getOctokit(process.env.ORG_TOKEN);
                   const { data: teamData } = await orgOctokit.rest.teams.getMembershipForUserInOrg({
                     org: 'ceph', team_slug: 'ceph-release-manager', username: username
                   });
@@ -255,13 +255,13 @@ jobs:
 
       - name: Checkout Trusted Base Repository
         if: steps.router.outputs.run_audit == 'true'
-        uses: actions/checkout@v3
+        uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
         with:
           fetch-depth: 0
           
       - name: Setup Python
         if: steps.router.outputs.run_audit == 'true'
-        uses: actions/setup-python@v4
+        uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
         with:
           python-version: '3.10'