Upgrade GitHub Actions for Node 24 compatibility (#6699)
This commit is contained in:
@@ -26,7 +26,7 @@ jobs:
|
||||
egress-policy: audit
|
||||
|
||||
- name: Checkout PR
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
fetch-depth: 0
|
||||
@@ -226,7 +226,7 @@ jobs:
|
||||
|
||||
- name: Upload scan artifacts
|
||||
if: always() && steps.find_recipes.outputs.has_recipes == 'true' && steps.recipe_changes.outputs.recipe_files_changed == 'true'
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
|
||||
with:
|
||||
name: security-scan
|
||||
path: ${{ runner.temp }}/security-scan/**
|
||||
@@ -235,7 +235,7 @@ jobs:
|
||||
|
||||
- name: Post scan results to PR
|
||||
if: always() && steps.find_recipes.outputs.has_recipes == 'true' && steps.recipe_changes.outputs.recipe_files_changed == 'true'
|
||||
uses: actions/github-script@v7
|
||||
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
|
||||
env:
|
||||
WORKSPACE: ${{ github.workspace }}
|
||||
RUNNER_TEMP: ${{ runner.temp }}
|
||||
@@ -330,7 +330,7 @@ jobs:
|
||||
|
||||
- name: Set GitHub status check
|
||||
if: always() && steps.find_recipes.outputs.has_recipes == 'true' && steps.recipe_changes.outputs.recipe_files_changed == 'true'
|
||||
uses: actions/github-script@v7
|
||||
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
|
||||
env:
|
||||
RUNNER_TEMP: ${{ runner.temp }}
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user