Skip to content

Commit f513d6e

Browse files
committed
update workflows
1 parent e7d4a50 commit f513d6e

11 files changed

+46
-46
lines changed

.github/workflows/build-perf.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ jobs:
1313
timeout-minutes: 30
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v3
17-
- uses: actions/setup-node@v3
16+
- uses: actions/checkout@v4
17+
- uses: actions/setup-node@v4
1818
with:
1919
node-version: "18"
2020
cache: yarn
@@ -33,8 +33,8 @@ jobs:
3333
timeout-minutes: 30
3434
runs-on: ubuntu-latest
3535
steps:
36-
- uses: actions/checkout@v3
37-
- uses: actions/setup-node@v3
36+
- uses: actions/checkout@v4
37+
- uses: actions/setup-node@v4
3838
with:
3939
cache: yarn
4040
- name: Installation

.github/workflows/canary-beta-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ jobs:
1717
if: ${{ github.repository == 'PaloAltoNetworks/docusaurus-openapi-docs' && github.ref == 'refs/heads/v3.0.0' && github.event_name == 'push' }}
1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@v4
2121
with:
2222
fetch-depth: 0 # Needed to get the commit number with "git rev-list --count HEAD"
2323
- name: Set up Node
24-
uses: actions/setup-node@v3
24+
uses: actions/setup-node@v4
2525
with:
2626
node-version: "18"
2727
cache: yarn

.github/workflows/canary-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ jobs:
1717
if: ${{ github.repository == 'PaloAltoNetworks/docusaurus-openapi-docs' && github.ref == 'refs/heads/main' && github.event_name == 'push' }}
1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@v4
2121
with:
2222
fetch-depth: 0 # Needed to get the commit number with "git rev-list --count HEAD"
2323
- name: Set up Node
24-
uses: actions/setup-node@v3
24+
uses: actions/setup-node@v4
2525
with:
2626
node-version: "18"
2727
cache: yarn

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ jobs:
2323
uses: actions/checkout@v3
2424

2525
- name: Initialize CodeQL
26-
uses: github/codeql-action/init@v2
26+
uses: github/codeql-action/init@v3
2727
with:
2828
languages: ${{ matrix.language }}
2929

3030
- name: Perform CodeQL Analysis
31-
uses: github/codeql-action/analyze@v2
31+
uses: github/codeql-action/analyze@v3

.github/workflows/combine-dependabot-prs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
if: github.repository_owner == 'PaloAltoNetworks'
2626
runs-on: ubuntu-latest
2727
steps:
28-
- uses: actions/github-script@v3
28+
- uses: actions/github-script@v7
2929
id: fetch-branch-names
3030
name: Fetch dependabot branches
3131
with:
@@ -89,7 +89,7 @@ jobs:
8989
console.log('Combined: ' + combined);
9090
return combined
9191
92-
- uses: actions/checkout@v2
92+
- uses: actions/checkout@v3
9393
with:
9494
fetch-depth: 0
9595

.github/workflows/deploy-live.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212

1313
steps:
1414
- name: Checkout repository
15-
uses: actions/checkout@v3
15+
uses: actions/checkout@v4
1616

1717
- name: Setup node
18-
uses: actions/setup-node@v3
18+
uses: actions/setup-node@v4
1919
with:
2020
node-version: "18"
2121
cache: "yarn"
@@ -29,7 +29,7 @@ jobs:
2929
- name: Build site
3030
run: yarn build-demo && zip -r build.zip demo/build
3131

32-
- uses: actions/upload-artifact@v3
32+
- uses: actions/upload-artifact@v4
3333
with:
3434
name: build
3535
path: build.zip
@@ -41,15 +41,15 @@ jobs:
4141

4242
steps:
4343
- name: Checkout repository
44-
uses: actions/checkout@v3
44+
uses: actions/checkout@v4
4545

4646
- name: Setup node
47-
uses: actions/setup-node@v3
47+
uses: actions/setup-node@v4
4848
with:
4949
node-version: "18"
5050
cache: "yarn"
5151

52-
- uses: actions/download-artifact@v4.1.7
52+
- uses: actions/download-artifact@v4
5353
with:
5454
name: build
5555

@@ -58,7 +58,7 @@ jobs:
5858

5959
- name: Deploy to Firebase
6060
id: deploy_live
61-
uses: FirebaseExtended/action-hosting-deploy@276388dd6c2cde23455b30293105cc866c22282d # v0.6-alpha
61+
uses: FirebaseExtended/action-hosting-deploy@0cbcac4740c2bfb00d632f0b863b57713124eb5a # v0.9.0
6262
with:
6363
repoToken: "${{ secrets.GITHUB_TOKEN }}"
6464
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_PANDEV }}"

.github/workflows/deploy-preview.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,17 @@ jobs:
3636

3737
steps:
3838
- name: Checkout repository
39-
uses: actions/checkout@v3
39+
uses: actions/checkout@v4
4040
with:
4141
ref: ${{ github.event.pull_request.head.sha }}
4242

4343
- name: Initialize CodeQL
44-
uses: github/codeql-action/init@v2
44+
uses: github/codeql-action/init@v3
4545
with:
4646
languages: ${{ matrix.language }}
4747

4848
- name: Perform CodeQL Analysis
49-
uses: github/codeql-action/analyze@v2
49+
uses: github/codeql-action/analyze@v3
5050

5151
analyze_unsafe:
5252
if: github.repository_owner == 'PaloAltoNetworks' && needs.precheck.outputs.is-org-member-result != 'null'
@@ -70,12 +70,12 @@ jobs:
7070
ref: ${{ github.event.pull_request.head.sha }}
7171

7272
- name: Initialize CodeQL
73-
uses: github/codeql-action/init@v2
73+
uses: github/codeql-action/init@v3
7474
with:
7575
languages: ${{ matrix.language }}
7676

7777
- name: Perform CodeQL Analysis
78-
uses: github/codeql-action/analyze@v2
78+
uses: github/codeql-action/analyze@v3
7979

8080
build:
8181
name: Build
@@ -89,12 +89,12 @@ jobs:
8989

9090
steps:
9191
- name: Checkout repository
92-
uses: actions/checkout@v3
92+
uses: actions/checkout@v4
9393
with:
9494
ref: ${{ github.event.pull_request.head.sha }}
9595

9696
- name: Setup node
97-
uses: actions/setup-node@v3
97+
uses: actions/setup-node@v4
9898
with:
9999
node-version: "18"
100100
cache: "yarn"
@@ -108,7 +108,7 @@ jobs:
108108
- name: Build site
109109
run: yarn build-demo && zip -r build.zip demo/build
110110

111-
- uses: actions/upload-artifact@v3
111+
- uses: actions/upload-artifact@v4
112112
with:
113113
name: build
114114
path: build.zip
@@ -121,15 +121,15 @@ jobs:
121121

122122
steps:
123123
- name: Checkout repository
124-
uses: actions/checkout@v3
124+
uses: actions/checkout@v4
125125

126126
- name: Setup node
127-
uses: actions/setup-node@v3
127+
uses: actions/setup-node@v4
128128
with:
129129
node-version: "18"
130130
cache: "yarn"
131131

132-
- uses: actions/download-artifact@v4.1.7
132+
- uses: actions/download-artifact@v4
133133
with:
134134
name: build
135135

@@ -138,7 +138,7 @@ jobs:
138138

139139
- name: Deploy to Firebase
140140
id: deploy_preview
141-
uses: FirebaseExtended/action-hosting-deploy@276388dd6c2cde23455b30293105cc866c22282d # v0.6-alpha
141+
uses: FirebaseExtended/action-hosting-deploy@0cbcac4740c2bfb00d632f0b863b57713124eb5a # v0.9.0
142142
with:
143143
repoToken: "${{ secrets.GITHUB_TOKEN }}"
144144
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_PANDEV }}"

.github/workflows/pr-title-check.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
name: Check
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: actions/checkout@v3
20+
- uses: actions/checkout@v4
2121
with:
2222
fetch-depth: 0
2323
- name: Check

.github/workflows/release-beta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
if: ${{ github.repository == 'PaloAltoNetworks/docusaurus-openapi-docs' }}
1616
steps:
17-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v4
1818
with:
1919
fetch-depth: 0
2020
- run: |

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
if: ${{ github.repository == 'PaloAltoNetworks/docusaurus-openapi-docs' }}
1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v4
1919
with:
2020
fetch-depth: 0
2121
- run: |

0 commit comments

Comments
 (0)