From 8867d2f8c0f4c35c2469bde2dd9f0036a9d85302 Mon Sep 17 00:00:00 2001 From: Carlos Polop Date: Fri, 5 Jun 2026 10:40:57 +0200 Subject: [PATCH] f --- .github/workflows/translate_all.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/translate_all.yml b/.github/workflows/translate_all.yml index 105c557ff..0af92d49c 100644 --- a/.github/workflows/translate_all.yml +++ b/.github/workflows/translate_all.yml @@ -63,7 +63,7 @@ jobs: echo "Continuing with translation workflow" - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 @@ -249,7 +249,7 @@ jobs: # Login in AWs - name: Configure AWS credentials using OIDC - uses: aws-actions/configure-aws-credentials@v3 + uses: aws-actions/configure-aws-credentials@v6 with: role-to-assume: ${{ secrets.AWS_ROLE_ARN }} aws-region: us-east-1 @@ -276,6 +276,7 @@ jobs: - name: Refresh root sitemap index id: root_sitemap + shell: bash run: | set -euo pipefail LANGS=$(aws s3api list-objects-v2 --bucket hacktricks-cloud --delimiter / --query 'CommonPrefixes[].Prefix' --output text | tr '\t' '\n' | sed 's:/$::' | grep -E '^[a-z]{2}$' | sort | paste -sd, - || true) @@ -292,6 +293,7 @@ jobs: fi - name: Invalidate CloudFront HTML and SEO assets + shell: bash run: | set -euo pipefail paths=("/$BRANCH/*" "/$BRANCH/sitemap.xml")