ci: pin versions of actions and review to be certain these are correct (#10627)

This commit is contained in:
Jay 2026-04-01 20:08:07 +02:00 committed by GitHub
parent ebf3036932
commit e9a1db9d9b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 41 additions and 41 deletions

View File

@ -16,8 +16,8 @@ jobs:
models: read models: read
contents: read contents: read
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: github/ai-moderator@v1 - uses: github/ai-moderator@81159c370785e295c97461ade67d7c33576e9319 # v1.1.4
with: with:
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
spam-label: 'spam' spam-label: 'spam'

View File

@ -14,9 +14,9 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout repo - name: Checkout repo
uses: actions/checkout@v6 uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v6 uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with: with:
node-version: 24.x node-version: 24.x
cache: npm cache: npm

View File

@ -26,11 +26,11 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout repo - name: Checkout repo
uses: actions/checkout@v6 uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with: with:
persist-credentials: true persist-credentials: true
- name: Setup node - name: Setup node
uses: actions/setup-node@v6 uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with: with:
node-version: 24.x node-version: 24.x
cache: npm cache: npm
@ -47,7 +47,7 @@ jobs:
- name: Pack npm tarball - name: Pack npm tarball
run: npm pack run: npm pack
- name: Upload npm pack artifact - name: Upload npm pack artifact
uses: actions/upload-artifact@v7 uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
with: with:
name: axios-tarball name: axios-tarball
path: axios-*.tgz path: axios-*.tgz
@ -64,17 +64,17 @@ jobs:
node-version: [12, 14, 16, 18] node-version: [12, 14, 16, 18]
steps: steps:
- name: Checkout repo - name: Checkout repo
uses: actions/checkout@v6 uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with: with:
persist-credentials: true persist-credentials: true
- name: Setup node - name: Setup node
uses: actions/setup-node@v6 uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
cache: npm cache: npm
cache-dependency-path: tests/smoke/cjs/package-lock.json cache-dependency-path: tests/smoke/cjs/package-lock.json
- name: Download npm pack artifact - name: Download npm pack artifact
uses: actions/download-artifact@v8 uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with: with:
name: axios-tarball name: axios-tarball
path: artifacts path: artifacts
@ -98,17 +98,17 @@ jobs:
node-version: [20, 22, 24] node-version: [20, 22, 24]
steps: steps:
- name: Checkout repo - name: Checkout repo
uses: actions/checkout@v6 uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with: with:
persist-credentials: true persist-credentials: true
- name: Setup node - name: Setup node
uses: actions/setup-node@v6 uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
cache: npm cache: npm
cache-dependency-path: tests/smoke/esm/package-lock.json cache-dependency-path: tests/smoke/esm/package-lock.json
- name: Download npm pack artifact - name: Download npm pack artifact
uses: actions/download-artifact@v8 uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with: with:
name: axios-tarball name: axios-tarball
path: artifacts path: artifacts
@ -132,17 +132,17 @@ jobs:
node-version: [12, 14, 16, 18] node-version: [12, 14, 16, 18]
steps: steps:
- name: Checkout repo - name: Checkout repo
uses: actions/checkout@v6 uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with: with:
persist-credentials: true persist-credentials: true
- name: Setup node - name: Setup node
uses: actions/setup-node@v6 uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
cache: npm cache: npm
cache-dependency-path: tests/module/cjs/package-lock.json cache-dependency-path: tests/module/cjs/package-lock.json
- name: Download npm pack artifact - name: Download npm pack artifact
uses: actions/download-artifact@v8 uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with: with:
name: axios-tarball name: axios-tarball
path: artifacts path: artifacts
@ -166,17 +166,17 @@ jobs:
node-version: [20, 22, 24] node-version: [20, 22, 24]
steps: steps:
- name: Checkout repo - name: Checkout repo
uses: actions/checkout@v6 uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with: with:
persist-credentials: true persist-credentials: true
- name: Setup node - name: Setup node
uses: actions/setup-node@v6 uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
cache: npm cache: npm
cache-dependency-path: tests/module/esm/package-lock.json cache-dependency-path: tests/module/esm/package-lock.json
- name: Download npm pack artifact - name: Download npm pack artifact
uses: actions/download-artifact@v8 uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with: with:
name: axios-tarball name: axios-tarball
path: artifacts path: artifacts
@ -196,11 +196,11 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout repo - name: Checkout repo
uses: actions/checkout@v6 uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with: with:
persist-credentials: false persist-credentials: false
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v6 uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with: with:
node-version: 24.x node-version: 24.x
cache: npm cache: npm
@ -234,7 +234,7 @@ jobs:
- name: Build project - name: Build project
run: npm run build run: npm run build
- name: Create Pull Request - name: Create Pull Request
uses: peter-evans/create-pull-request@v8 uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0
with: with:
branch: 'release' branch: 'release'
commit-message: 'chore(release): prepare release ${{ steps.bump-version.outputs.newTag }}' commit-message: 'chore(release): prepare release ${{ steps.bump-version.outputs.newTag }}'

View File

@ -18,11 +18,11 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout repo - name: Checkout repo
uses: actions/checkout@v6 uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with: with:
persist-credentials: true persist-credentials: true
- name: Setup node - name: Setup node
uses: actions/setup-node@v6 uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with: with:
node-version: 24.x node-version: 24.x
cache: npm cache: npm
@ -39,9 +39,9 @@ jobs:
- name: Pack npm tarball - name: Pack npm tarball
run: npm pack run: npm pack
- name: Dependency Review - name: Dependency Review
uses: actions/dependency-review-action@v4 uses: actions/dependency-review-action@2031cfc080254a8a887f58cffee85186f0e49e48 # v4.9.0
- name: Upload npm pack artifact - name: Upload npm pack artifact
uses: actions/upload-artifact@v7 uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
with: with:
name: axios-tarball name: axios-tarball
path: axios-*.tgz path: axios-*.tgz
@ -58,17 +58,17 @@ jobs:
node-version: [12, 14, 16, 18] node-version: [12, 14, 16, 18]
steps: steps:
- name: Checkout repo - name: Checkout repo
uses: actions/checkout@v6 uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with: with:
persist-credentials: true persist-credentials: true
- name: Setup node - name: Setup node
uses: actions/setup-node@v6 uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
cache: npm cache: npm
cache-dependency-path: tests/smoke/cjs/package-lock.json cache-dependency-path: tests/smoke/cjs/package-lock.json
- name: Download npm pack artifact - name: Download npm pack artifact
uses: actions/download-artifact@v8 uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with: with:
name: axios-tarball name: axios-tarball
path: artifacts path: artifacts
@ -92,17 +92,17 @@ jobs:
node-version: [20, 22, 24] node-version: [20, 22, 24]
steps: steps:
- name: Checkout repo - name: Checkout repo
uses: actions/checkout@v6 uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with: with:
persist-credentials: true persist-credentials: true
- name: Setup node - name: Setup node
uses: actions/setup-node@v6 uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
cache: npm cache: npm
cache-dependency-path: tests/smoke/esm/package-lock.json cache-dependency-path: tests/smoke/esm/package-lock.json
- name: Download npm pack artifact - name: Download npm pack artifact
uses: actions/download-artifact@v8 uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with: with:
name: axios-tarball name: axios-tarball
path: artifacts path: artifacts
@ -126,17 +126,17 @@ jobs:
node-version: [12, 14, 16, 18] node-version: [12, 14, 16, 18]
steps: steps:
- name: Checkout repo - name: Checkout repo
uses: actions/checkout@v6 uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with: with:
persist-credentials: true persist-credentials: true
- name: Setup node - name: Setup node
uses: actions/setup-node@v6 uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
cache: npm cache: npm
cache-dependency-path: tests/module/cjs/package-lock.json cache-dependency-path: tests/module/cjs/package-lock.json
- name: Download npm pack artifact - name: Download npm pack artifact
uses: actions/download-artifact@v8 uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with: with:
name: axios-tarball name: axios-tarball
path: artifacts path: artifacts
@ -160,17 +160,17 @@ jobs:
node-version: [20, 22, 24] node-version: [20, 22, 24]
steps: steps:
- name: Checkout repo - name: Checkout repo
uses: actions/checkout@v6 uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with: with:
persist-credentials: true persist-credentials: true
- name: Setup node - name: Setup node
uses: actions/setup-node@v6 uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
cache: npm cache: npm
cache-dependency-path: tests/module/esm/package-lock.json cache-dependency-path: tests/module/esm/package-lock.json
- name: Download npm pack artifact - name: Download npm pack artifact
uses: actions/download-artifact@v8 uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with: with:
name: axios-tarball name: axios-tarball
path: artifacts path: artifacts

View File

@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v6 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with: with:
fetch-depth: 0 fetch-depth: 0
- name: git config - name: git config
@ -25,7 +25,7 @@ jobs:
git config user.name "${GITHUB_ACTOR}" git config user.name "${GITHUB_ACTOR}"
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com" git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
- name: Setup node - name: Setup node
uses: actions/setup-node@v6 uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with: with:
node-version: 24.x node-version: 24.x
cache: npm cache: npm
@ -54,7 +54,7 @@ jobs:
echo "$CONTENT" echo "$CONTENT"
if: steps.sponsors-requires-update.outputs.changed == 'true' && steps.readme-tracked-change.outputs.readme_changed == 'true' if: steps.sponsors-requires-update.outputs.changed == 'true' && steps.readme-tracked-change.outputs.readme_changed == 'true'
- name: Create pull request - name: Create pull request
uses: peter-evans/create-pull-request@v8 uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0
with: with:
branch: sponsors branch: sponsors
delete-branch: true delete-branch: true