This is an automated email from the ASF dual-hosted git repository.

adoroszlai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone-site.git


The following commit(s) were added to refs/heads/master by this push:
     new f31d141e13 HDDS-16816. Pin first-party actions to a major version tag 
(#577)
f31d141e13 is described below

commit f31d141e1346c0d67618f7c4e261eca2512d614f
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Sat Oct 17 08:14:02 2026 +0200

    HDDS-16816. Pin first-party actions to a major version tag (#577)
---
 .github/workflows/asf-allowlist-check.yaml         |  5 ++--
 .github/workflows/docusaurus.yml                   | 18 ++++++------
 .github/workflows/publish.yml                      |  4 +--
 .github/workflows/pull-request.yml                 |  2 +-
 .github/workflows/static.yml                       | 16 +++++------
 .github/workflows/zizmor.yml                       |  2 +-
 .../{workflows/pull-request.yml => zizmor.yaml}    | 32 ++++------------------
 7 files changed, 29 insertions(+), 50 deletions(-)

diff --git a/.github/workflows/asf-allowlist-check.yaml 
b/.github/workflows/asf-allowlist-check.yaml
index c2dcaf030c..806c0896e0 100644
--- a/.github/workflows/asf-allowlist-check.yaml
+++ b/.github/workflows/asf-allowlist-check.yaml
@@ -41,11 +41,10 @@ jobs:
     runs-on: ubuntu-slim
     steps:
     - name: Checkout project
-      uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+      uses: actions/checkout@v7
       with:
         persist-credentials: false
     - name: Check actions
-      # yamllint disable-line rule:line-length
-      uses: 
apache/infrastructure-actions/allowlist-check@47b297bbe90f580139129bee531bd84bd95b7f5d
 # allowlist-check/v1.0.4
+      uses: apache/infrastructure-actions/allowlist-check@allowlist-check/v1
       with:
         scan-glob: .github/workflows/*.y*ml
diff --git a/.github/workflows/docusaurus.yml b/.github/workflows/docusaurus.yml
index 70e2f57bde..5e60157c95 100644
--- a/.github/workflows/docusaurus.yml
+++ b/.github/workflows/docusaurus.yml
@@ -35,12 +35,12 @@ jobs:
     runs-on: ubuntu-24.04
     steps:
     - name: Checkout project
-      uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+      uses: actions/checkout@v7
       with:
         persist-credentials: false
     - name: Check Docker image cache
       id: cache
-      uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
+      uses: actions/cache@v6
       with:
         path: ${{ env.image_tar }}
         key: image2-${{ hashFiles('Dockerfile', 'compose.yml', 
'pnpm-lock.yaml') }}
@@ -55,7 +55,7 @@ jobs:
         docker save ozone-site --output="$image_tar"
     - name: Save docker image tar to cache
       if: steps.cache.outputs.cache-hit != 'true'
-      uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # 
v6.1.0
+      uses: actions/cache/save@v6
       with:
         path: ${{ env.image_tar }}
         key: image2-${{ hashFiles('Dockerfile', 'compose.yml', 
'pnpm-lock.yaml') }}
@@ -65,11 +65,11 @@ jobs:
     runs-on: ubuntu-24.04
     steps:
     - name: Checkout project
-      uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+      uses: actions/checkout@v7
       with:
         persist-credentials: false
     - name: Restore docker image tar from cache
-      uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # 
v6.1.0
+      uses: actions/cache/restore@v6
       with:
         path: ${{ env.image_tar }}
         key: image2-${{ hashFiles('Dockerfile', 'compose.yml', 
'pnpm-lock.yaml') }}
@@ -80,7 +80,7 @@ jobs:
       run: |
         docker compose run site pnpm build
     - name: Save website build artifact
-      uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # 
v7.0.1
+      uses: actions/upload-artifact@v7
       with:
         name: build
         path: build
@@ -93,16 +93,16 @@ jobs:
     runs-on: ubuntu-24.04
     steps:
     - name: Get Docker files
-      uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+      uses: actions/checkout@v7
       with:
         persist-credentials: false
     - name: Download website build artifact
-      uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c 
# v8.0.1
+      uses: actions/download-artifact@v8
       with:
         name: build
         path: build
     - name: Restore docker image tar from cache
-      uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # 
v6.1.0
+      uses: actions/cache/restore@v6
       with:
         path: ${{ env.image_tar }}
         key: image2-${{ hashFiles('Dockerfile', 'compose.yml', 
'pnpm-lock.yaml') }}
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 1a6a9b421b..836b9a031b 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -33,12 +33,12 @@ jobs:
       contents: write
     steps:
     - name: Download website build artifact
-      uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c 
# v8.0.1
+      uses: actions/download-artifact@v8
       with:
         name: build
         path: build
     - name: Checkout publish branch
-      uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+      uses: actions/checkout@v7
       with:
         path: publish
         persist-credentials: true
diff --git a/.github/workflows/pull-request.yml 
b/.github/workflows/pull-request.yml
index 641930962c..226a6a5e64 100644
--- a/.github/workflows/pull-request.yml
+++ b/.github/workflows/pull-request.yml
@@ -31,7 +31,7 @@ jobs:
     runs-on: ubuntu-slim
     steps:
     - name: Checkout project
-      uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+      uses: actions/checkout@v7
       with:
         persist-credentials: false
     - name: Check pull request title
diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml
index 08c50c6418..cab7608598 100644
--- a/.github/workflows/static.yml
+++ b/.github/workflows/static.yml
@@ -38,7 +38,7 @@ jobs:
     runs-on: ubuntu-24.04
     steps:
     - name: Checkout project
-      uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+      uses: actions/checkout@v7
       with:
         persist-credentials: false
     - name: Check Apache license headers
@@ -47,7 +47,7 @@ jobs:
     runs-on: ubuntu-24.04
     steps:
     - name: Checkout project
-      uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+      uses: actions/checkout@v7
       with:
         persist-credentials: false
     - name: Run file name check
@@ -58,14 +58,14 @@ jobs:
     runs-on: ubuntu-24.04
     steps:
     - name: Checkout project
-      uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+      uses: actions/checkout@v7
       with:
         persist-credentials: false
     - name: Enable corepack
       run: |
         corepack enable
     - name: Use Node.js ${{ env.node_version }}
-      uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # 
v7.0.0
+      uses: actions/setup-node@v7
       with:
         node-version: ${{ env.node_version }}
         cache: pnpm
@@ -84,14 +84,14 @@ jobs:
     runs-on: ubuntu-24.04
     steps:
     - name: Checkout project
-      uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+      uses: actions/checkout@v7
       with:
         persist-credentials: false
     - name: Enable corepack
       run: |
         corepack enable
     - name: Use Node.js ${{ env.node_version }}
-      uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # 
v7.0.0
+      uses: actions/setup-node@v7
       with:
         node-version: ${{ env.node_version }}
         cache: pnpm
@@ -105,14 +105,14 @@ jobs:
     runs-on: ubuntu-24.04
     steps:
     - name: Checkout project
-      uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+      uses: actions/checkout@v7
       with:
         persist-credentials: false
     - name: Enable corepack
       run: |
         corepack enable
     - name: Use Node.js ${{ env.node_version }}
-      uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # 
v7.0.0
+      uses: actions/setup-node@v7
       with:
         node-version: ${{ env.node_version }}
         cache: pnpm
diff --git a/.github/workflows/zizmor.yml b/.github/workflows/zizmor.yml
index b69b1e2fb3..cc74c39bf9 100644
--- a/.github/workflows/zizmor.yml
+++ b/.github/workflows/zizmor.yml
@@ -41,7 +41,7 @@ jobs:
       security-events: write
     steps:
     - name: Checkout project
-      uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+      uses: actions/checkout@v7
       with:
         persist-credentials: false
 
diff --git a/.github/workflows/pull-request.yml b/.github/zizmor.yaml
similarity index 60%
copy from .github/workflows/pull-request.yml
copy to .github/zizmor.yaml
index 641930962c..b502f74fe5 100644
--- a/.github/workflows/pull-request.yml
+++ b/.github/zizmor.yaml
@@ -13,29 +13,9 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-name: pull request
-
-on:
-  pull_request:
-    types:
-    - reopened
-    - opened
-    - edited
-    - synchronize
-
-permissions:
-  contents: read
-
-jobs:
-  title:
-    runs-on: ubuntu-slim
-    steps:
-    - name: Checkout project
-      uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
-      with:
-        persist-credentials: false
-    - name: Check pull request title
-      env:
-        TITLE: ${{ github.event.pull_request.title }}
-      run:
-        .github/scripts/pr_title_check.sh "${TITLE}"
+rules:
+  unpinned-uses:
+    config:
+      policies:
+        actions/*: ref-pin
+        apache/*: ref-pin


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to