Pin Actions (#17980)

This commit is contained in:
StepSecurity Bot authored and GitHub committed 2025-09-26 07:57:20 +08:00
1 parent 73b79fd924
commit 1a93a416d0
17 files changed
+52 -50

No files matched your search

+3 -3
View File
@@ -12,10 +12,10 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v5 uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v5 uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
with: with:
cache: "yarn" cache: "yarn"
@@ -26,7 +26,7 @@ jobs:
run: yarn build --clean run: yarn build --clean
- name: Upload Artifact - name: Upload Artifact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with: with:
name: dist name: dist
path: dist path: dist
+2
View File
@@ -7,6 +7,8 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }} group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true cancel-in-progress: true
permissions: {}
jobs: jobs:
fix: fix:
name: Run automated fix name: Run automated fix
+4 -4
View File
@@ -1,4 +1,4 @@
name: Bundler_Friendly name: Bundler Friendly
on: on:
schedule: schedule:
@@ -30,10 +30,10 @@ jobs:
needs: [build] needs: [build]
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v5 uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v5 uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
with: with:
cache: "yarn" cache: "yarn"
@@ -41,7 +41,7 @@ jobs:
run: yarn install --immutable run: yarn install --immutable
- name: Download Artifact - name: Download Artifact
uses: actions/download-artifact@v5 uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
with: with:
name: dist name: dist
path: dist path: dist
+3 -3
View File
@@ -17,15 +17,15 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v5 uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v5 uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
with: with:
cache: "yarn" cache: "yarn"
- name: Check Sizes - name: Check Sizes
uses: preactjs/compressed-size-action@2.8.0 uses: preactjs/compressed-size-action@946a292cd35bd1088e0d7eb92b69d1a8d5b5d76a # 2.8.0
with: with:
repo-token: "${{ secrets.GITHUB_TOKEN }}" repo-token: "${{ secrets.GITHUB_TOKEN }}"
pattern: "./dist/**/*" pattern: "./dist/**/*"
+3 -3
View File
@@ -17,10 +17,10 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v5 uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v5 uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
with: with:
cache: "yarn" cache: "yarn"
@@ -33,7 +33,7 @@ jobs:
- name: Set current date env - name: Set current date env
run: echo "CURRENT_DATE=$(date +'%Y-%m-%d')" >> "$GITHUB_ENV" run: echo "CURRENT_DATE=$(date +'%Y-%m-%d')" >> "$GITHUB_ENV"
- uses: peter-evans/create-pull-request@v7 - uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
with: with:
commit-message: Cleanup cspell.json (${{ env.CURRENT_DATE }}) commit-message: Cleanup cspell.json (${{ env.CURRENT_DATE }})
branch: automated-cleanup-cspell-${{ env.CURRENT_DATE }} branch: automated-cleanup-cspell-${{ env.CURRENT_DATE }}
+3 -3
View File
@@ -29,12 +29,12 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v5 uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Initialize CodeQL - name: Initialize CodeQL
uses: github/codeql-action/init@v3 uses: github/codeql-action/init@303c0aef88fc2fe5ff6d63d3b1596bfd83dfa1f9 # v3.30.4
with: with:
config-file: ./.github/codeql/codeql-config.yml config-file: ./.github/codeql/codeql-config.yml
- name: Perform CodeQL Analysis - name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3 uses: github/codeql-action/analyze@303c0aef88fc2fe5ff6d63d3b1596bfd83dfa1f9 # v3.30.4
+3 -3
View File
@@ -1,4 +1,4 @@
name: Dev_Package_Test name: Dev Package Test
on: on:
schedule: schedule:
@@ -42,10 +42,10 @@ jobs:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v5 uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v5 uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
with: with:
node-version: ${{ matrix.node }} node-version: ${{ matrix.node }}
cache: "yarn" cache: "yarn"
+3 -3
View File
@@ -49,10 +49,10 @@ jobs:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v5 uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v5 uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
with: with:
node-version: ${{ matrix.node }} node-version: ${{ matrix.node }}
cache: "yarn" cache: "yarn"
@@ -69,7 +69,7 @@ jobs:
run: yarn c8 yarn test run: yarn c8 yarn test
- name: Upload Coverage - name: Upload Coverage
uses: codecov/codecov-action@v5 uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
if: ${{ matrix.ENABLE_CODE_COVERAGE }} if: ${{ matrix.ENABLE_CODE_COVERAGE }}
with: with:
fail_ci_if_error: true fail_ci_if_error: true
+3 -3
View File
@@ -1,4 +1,4 @@
name: Internal_ESLint_Rules_Test name: Internal ESLint Plugin Test
on: on:
push: push:
@@ -29,10 +29,10 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v5 uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v5 uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
with: with:
cache: "yarn" cache: "yarn"
+3 -3
View File
@@ -21,10 +21,10 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v5 uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v5 uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
with: with:
cache: "yarn" cache: "yarn"
@@ -67,7 +67,7 @@ jobs:
- name: Dependency Review - name: Dependency Review
# Doesn't support push event https://github.com/actions/dependency-review-action/issues/826 # Doesn't support push event https://github.com/actions/dependency-review-action/issues/826
if: github.event_name == 'pull_request' if: github.event_name == 'pull_request'
uses: actions/dependency-review-action@v4 uses: actions/dependency-review-action@595b5aeba73380359d98a5e087f648dbb0edce1b # v4.7.3
- name: Validate renovate config - name: Validate renovate config
run: npx --package renovate@latest --call renovate-config-validator run: npx --package renovate@latest --call renovate-config-validator
+1 -1
View File
@@ -13,7 +13,7 @@ jobs:
if: github.event_name != 'schedule' || github.repository == 'prettier/prettier' if: github.event_name != 'schedule' || github.repository == 'prettier/prettier'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: dessant/lock-threads@v5 - uses: dessant/lock-threads@1bf7ec25051fe7c00bdd17e6a7cf3d7bfb7dc771 # v5.0.1
with: with:
# https://github.com/dessant/lock-threads # https://github.com/dessant/lock-threads
github-token: ${{ github.token }} github-token: ${{ github.token }}
+1 -1
View File
@@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: ${{ !github.event.issue.pull_request && startsWith(github.event.comment.body, 'Duplicate of ') }} if: ${{ !github.event.issue.pull_request && startsWith(github.event.comment.body, 'Duplicate of ') }}
steps: steps:
- uses: actions-cool/issues-helper@v3.6.3 - uses: actions-cool/issues-helper@45d75b6cf72bf4f254be6230cb887ad002702491 # v3.6.3
with: with:
actions: "mark-duplicate" actions: "mark-duplicate"
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
+1 -1
View File
@@ -18,7 +18,7 @@ jobs:
if: github.event_name != 'schedule' || github.repository == 'prettier/prettier' if: github.event_name != 'schedule' || github.repository == 'prettier/prettier'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: lee-dohm/no-response@v0.5.0 - uses: lee-dohm/no-response@9bb0a4b5e6a45046f00353d5de7d90fb8bd773bb # v0.5.0
with: with:
token: ${{ github.token }} token: ${{ github.token }}
daysUntilClose: 14 daysUntilClose: 14
+2 -2
View File
@@ -16,9 +16,9 @@ jobs:
prevent-add-users: prevent-add-users:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v5 - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Prevent file change - name: Prevent file change
uses: xalvarez/prevent-file-change-action@v2.0.0 uses: xalvarez/prevent-file-change-action@4e88b842aed52bb42b94537ad9736eac06930266 # v2.0.0
with: with:
githubToken: ${{ secrets.GITHUB_TOKEN }} githubToken: ${{ secrets.GITHUB_TOKEN }}
pattern: website/data/users.yml pattern: website/data/users.yml
+12 -12
View File
@@ -26,10 +26,10 @@ jobs:
needs: [build] needs: [build]
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v5 uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v5 uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
with: with:
cache: "yarn" cache: "yarn"
@@ -37,7 +37,7 @@ jobs:
run: yarn install --immutable run: yarn install --immutable
- name: Download Artifact - name: Download Artifact
uses: actions/download-artifact@v5 uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
with: with:
name: dist name: dist
path: dist path: dist
@@ -88,7 +88,7 @@ jobs:
needs: [build] needs: [build]
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v5 uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Install yarn@3 - name: Install yarn@3
if: ${{ matrix.node == '14' || matrix.node == '16' }} if: ${{ matrix.node == '14' || matrix.node == '16' }}
@@ -98,7 +98,7 @@ jobs:
cat .yarnrc.yml cat .yarnrc.yml
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v5 uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
with: with:
node-version: ${{ matrix.node }} node-version: ${{ matrix.node }}
cache: "yarn" cache: "yarn"
@@ -117,7 +117,7 @@ jobs:
run: yarn install --immutable run: yarn install --immutable
- name: Download Artifact - name: Download Artifact
uses: actions/download-artifact@v5 uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
with: with:
name: dist name: dist
path: dist path: dist
@@ -144,16 +144,16 @@ jobs:
needs: [build] needs: [build]
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v5 uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v5 uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
with: with:
node-version: "0.10.48" node-version: "0.10.48"
package-manager-cache: false package-manager-cache: false
- name: Download Artifact - name: Download Artifact
uses: actions/download-artifact@v5 uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
with: with:
name: dist name: dist
path: dist path: dist
@@ -171,16 +171,16 @@ jobs:
needs: [build] needs: [build]
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v5 uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
# `pkg-pr-new` requires Node.js v20 # `pkg-pr-new` requires Node.js v20
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v5 uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
with: with:
node-version: latest node-version: latest
- name: Download Artifact - name: Download Artifact
uses: actions/download-artifact@v5 uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
with: with:
name: dist name: dist
path: dist path: dist
+3 -3
View File
@@ -1,4 +1,4 @@
name: Release_Script_Test name: Release Script Test
defaults: defaults:
run: run:
@@ -31,10 +31,10 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v5 uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v5 uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
with: with:
# Minimal version the release script required # Minimal version the release script required
node-version: "20" node-version: "20"
+2 -2
View File
@@ -1,4 +1,4 @@
name: "Support requests" name: Support requests
on: on:
issues: issues:
@@ -11,7 +11,7 @@ jobs:
support: support:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: dessant/support-requests@v4.0.0 - uses: dessant/support-requests@47d5ea12f6c9e4a081637de9626b7319b415a3bf # v4.0.0
with: with:
github-token: ${{ github.token }} github-token: ${{ github.token }}
support-label: "type:question" support-label: "type:question"