From c8b97548806e027d0a4ef0d04f6fac204abb6ab3 Mon Sep 17 00:00:00 2001 From: Oliver Holworthy <1216955+oliverholworthy@users.noreply.github.com> Date: Fri, 2 Jun 2023 17:54:43 +0100 Subject: [PATCH 1/3] Handle pull request branch name --- actions/branch-name/entrypoint.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/actions/branch-name/entrypoint.sh b/actions/branch-name/entrypoint.sh index 54cebda..9473cf5 100755 --- a/actions/branch-name/entrypoint.sh +++ b/actions/branch-name/entrypoint.sh @@ -43,10 +43,15 @@ then if [[ -z "${branch}" ]] then cat < Date: Fri, 9 Aug 2024 11:02:35 -0400 Subject: [PATCH 2/3] Specify artifacts to download For more information about a job, try: gh run view --job= View this run on GitHub: https://github.com/NVIDIA/cloud-native-docs/actions/runs/10320972073 error downloading NVIDIA~cloud-native-docs~YLISLE.dockerbuild: error extracting zip archive: zip: not a valid zip file Error: Process completed with exit code 1. Signed-off-by: Mike McKiernan --- .github/workflows/docs-preview-pr-common.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs-preview-pr-common.yaml b/.github/workflows/docs-preview-pr-common.yaml index 49d4226..bd99b8a 100644 --- a/.github/workflows/docs-preview-pr-common.yaml +++ b/.github/workflows/docs-preview-pr-common.yaml @@ -45,7 +45,7 @@ jobs: needs: [get-gh-pages-url] if: needs.get-gh-pages-url.outputs.url != '' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ needs.get-gh-pages-url.outputs.branch }} - name: Initialize Git configuration @@ -55,7 +55,7 @@ jobs: - name: Download artifacts run: | gh run view "${WF_ID}" - gh run download "${WF_ID}" + gh run download "${WF_ID}" -n pr -n html-build-artifact PR=$(cat ./pr/pr.txt) MERGED=$(cat ./pr/merged.txt) ACTION=$(cat ./pr/action.txt) From aecd4795d5d64bb27f0109b0c2ac3d7caece443c Mon Sep 17 00:00:00 2001 From: Mike McKiernan Date: Mon, 10 Feb 2025 09:19:29 -0500 Subject: [PATCH 3/3] chore: Update checkout action version Signed-off-by: Mike McKiernan --- .github/workflows/docs-remove-stale-reviews-common.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docs-remove-stale-reviews-common.yaml b/.github/workflows/docs-remove-stale-reviews-common.yaml index 0d8dd73..fe486c3 100644 --- a/.github/workflows/docs-remove-stale-reviews-common.yaml +++ b/.github/workflows/docs-remove-stale-reviews-common.yaml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: "gh-pages" - name: Initialize Git configuration