ci: pin github action to specific hash (#1799)
This commit is contained in:
@@ -17,11 +17,11 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout the branch
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # pin@v3
|
||||
|
||||
- name: Setup Node.js
|
||||
if: github.event.action != 'closed'
|
||||
uses: actions/setup-node@v3
|
||||
uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # pin@v3
|
||||
with:
|
||||
node-version: 20
|
||||
|
||||
@@ -38,7 +38,7 @@ jobs:
|
||||
npm run build
|
||||
|
||||
- name: Deploy preview
|
||||
uses: rossjrw/pr-preview-action@v1
|
||||
uses: rossjrw/pr-preview-action@df22037db54ab6ee34d3c1e2b8810ac040a530c6 # pin@v1
|
||||
if: ${{ github.event.pull_request.head.repo.full_name == 'block/goose' }}
|
||||
with:
|
||||
source-dir: documentation/build
|
||||
|
||||
Reference in New Issue
Block a user