File tree Expand file tree Collapse file tree 4 files changed +10
-10
lines changed
Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -33,14 +33,14 @@ jobs:
3333 uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3434
3535 - name : Setup NodeJS environment
36- uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4 .0
36+ uses : actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0 .0
3737 with :
3838 node-version-file : ' antora/package.json'
3939 cache : ' npm'
4040 cache-dependency-path : ' antora/package-lock.json'
4141
4242 - name : Setup Go environment
43- uses : actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5 .0
43+ uses : actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0 .0
4444 with :
4545 go-version-file : website/go.mod
4646 cache : true
6969 --baseURL "${{ steps.pages.outputs.base_url }}/"
7070
7171 - name : Upload artifact
72- uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
72+ uses : actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
7373 with :
7474 path : public
7575 name : website
8383 mkdir pull_request
8484 echo ${{ github.event.pull_request.number }} > ./pull_request/number
8585 - name : Upload pull request data
86- uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
86+ uses : actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
8787 with :
8888 path : .
8989 name : pull-request-data
Original file line number Diff line number Diff line change 3535 if : github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success'
3636 steps :
3737 - name : Download pull request artifact
38- uses : actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7 .0.1
38+ uses : actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 .0.0
3939 with :
4040 script : |
4141 const artifacts = await github.rest.actions.listWorkflowRunArtifacts({
8080 npm --prefix code exec -- wrangler pages deploy public --project-name "$CLOUDFLARE_PROJECT_NAME" --branch pr-${{ steps.data.outputs.PR_NUMBER }} | tee out.txt
8181 grep 'Deployment complete! Take a peek over at ' out.txt | sed -e 's/.*over at /PREVIEW_URL=/' >> $GITHUB_OUTPUT
8282 - name : Add comment
83- uses : actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7 .0.1
83+ uses : actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 .0.0
8484 with :
8585 github-token : ${{ secrets.GITHUB_TOKEN }}
8686 script : |
Original file line number Diff line number Diff line change @@ -54,12 +54,12 @@ jobs:
5454 needs : build
5555 steps :
5656 - name : Download website artifact
57- uses : actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5 .0.0
57+ uses : actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6 .0.0
5858 with :
5959 name : website
6060 path : ' .'
6161 - name : Upload artifact
62- uses : actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3 .0.1
62+ uses : actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b # v4 .0.0
6363 with :
6464 path : ' .'
6565 - name : Deploy to GitHub Pages
Original file line number Diff line number Diff line change @@ -64,14 +64,14 @@ jobs:
6464 # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
6565 # format to the repository Actions tab.
6666 - name : " Upload artifact"
67- uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
67+ uses : actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
6868 with :
6969 name : SARIF file
7070 path : results.sarif
7171 retention-days : 5
7272
7373 # Upload the results to GitHub's code scanning dashboard.
7474 - name : " Upload to code-scanning"
75- uses : github/codeql-action/upload-sarif@3c3833e0f8c1c83d449a7478aa59c036a9165498 # v3.29.11
75+ uses : github/codeql-action/upload-sarif@0499de31b99561a6d14a36a5f662c2a54f91beee # v4.31.2
7676 with :
7777 sarif_file : results.sarif
You can’t perform that action at this time.
0 commit comments