mirror of
https://github.com/ceph/ceph
synced 2026-08-02 07:03:18 +00:00
.github/workflows/releng-audit: update workflows
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>
This commit is contained in:
parent
5a9a55c96f
commit
7e3b5fe5f9
8
.github/workflows/releng-audit.yaml
vendored
8
.github/workflows/releng-audit.yaml
vendored
@ -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'
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user