You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ozone.apache.org by ad...@apache.org on 2026/10/17 18:32:23 UTC
(ozone) branch master updated: HDDS-16816. Pin first-party actions to a major version tag (#11456)
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.git
The following commit(s) were added to refs/heads/master by this push:
new ccd3dfa20b4 HDDS-16816. Pin first-party actions to a major version tag (#11456)
ccd3dfa20b4 is described below
commit ccd3dfa20b4f65e61a2554bed90a2a4cf0cad6db
Author: Doroszlai, Attila <64...@users.noreply.github.com>
AuthorDate: Sat Oct 17 20:32:16 2026 +0200
HDDS-16816. Pin first-party actions to a major version tag (#11456)
---
.github/workflows/asf-allowlist-check.yaml | 4 +--
.github/workflows/build-ratis.yml | 10 +++----
.github/workflows/check.yml | 24 +++++++--------
.github/workflows/ci.yml | 16 +++++-----
.github/workflows/close-stale-prs.yaml | 2 +-
.github/workflows/generate-config-doc.yml | 8 ++---
.github/workflows/intermittent-test-check.yml | 26 ++++++++--------
.github/workflows/label-pr.yml | 6 ++--
.github/workflows/populate-cache.yml | 10 +++----
.github/workflows/pull-request.yml | 2 +-
.github/workflows/repeat-acceptance.yml | 18 +++++------
.github/workflows/update-ozone-site-config-doc.yml | 4 +--
.github/workflows/zizmor.yml | 4 ++-
.github/{workflows/pull-request.yml => zizmor.yml} | 35 ++++------------------
14 files changed, 74 insertions(+), 95 deletions(-)
diff --git a/.github/workflows/asf-allowlist-check.yaml b/.github/workflows/asf-allowlist-check.yaml
index 6e5f1a5be63..75804f39340 100644
--- a/.github/workflows/asf-allowlist-check.yaml
+++ b/.github/workflows/asf-allowlist-check.yaml
@@ -40,10 +40,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
- 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/build-ratis.yml b/.github/workflows/build-ratis.yml
index af1a3505d6a..92cc860b006 100644
--- a/.github/workflows/build-ratis.yml
+++ b/.github/workflows/build-ratis.yml
@@ -69,20 +69,20 @@ jobs:
thirdparty-version: ${{ steps.versions.outputs.thirdparty }}
steps:
- name: Checkout project
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+ uses: actions/checkout@v7
with:
persist-credentials: false
repository: ${{ inputs.repo }}
ref: ${{ inputs.ref }}
- name: Cache for maven dependencies
- uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
+ uses: actions/cache@v6
with:
path: |
~/.m2/repository
!~/.m2/repository/org/apache/ratis
key: ratis-dependencies-${{ hashFiles('**/pom.xml') }}
- name: Setup java
- uses: actions/setup-java@de7274f081f381c8f8158605e0321c36c376e2e6 # v6.0.1
+ uses: actions/setup-java@v6
with:
distribution: 'temurin'
java-version: 25
@@ -101,7 +101,7 @@ jobs:
mvn -B --no-transfer-progress -Dscan=false versions:set -DnewVersion="$ratis_version"
dev-support/checks/build.sh
- name: Store Maven repo for tests
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
+ uses: actions/upload-artifact@v7
with:
name: ratis-jars
path: |
@@ -118,7 +118,7 @@ jobs:
protobuf-version: ${{ steps.versions.outputs.protobuf }}
steps:
- name: Checkout project
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+ uses: actions/checkout@v7
with:
persist-credentials: false
repository: apache/ratis-thirdparty
diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml
index 469e1c486d5..c96db61c7e0 100644
--- a/.github/workflows/check.yml
+++ b/.github/workflows/check.yml
@@ -153,7 +153,7 @@ jobs:
steps:
- name: Checkout project
if: ${{ !inputs.needs-ozone-source-tarball }}
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+ uses: actions/checkout@v7
with:
persist-credentials: false
ref: ${{ inputs.sha }}
@@ -161,7 +161,7 @@ jobs:
- name: Download Ozone source tarball
if: ${{ inputs.needs-ozone-source-tarball }}
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
+ uses: actions/download-artifact@v8
with:
name: ozone-src
@@ -172,7 +172,7 @@ jobs:
- name: Cache for NPM dependencies
if: ${{ inputs.needs-npm-cache }}
- uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
+ uses: actions/cache@v6
with:
path: |
~/.pnpm-store
@@ -182,7 +182,7 @@ jobs:
- name: Cache for Maven dependencies
if: ${{ inputs.needs-maven-cache }}
- uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
+ uses: actions/cache/restore@v6
with:
path: |
~/.m2/repository/*/*/*
@@ -194,7 +194,7 @@ jobs:
- name: Download Ozone repo
id: download-ozone-repo
if: ${{ inputs.needs-ozone-repo }}
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
+ uses: actions/download-artifact@v8
with:
name: ozone-repo
path: |
@@ -202,7 +202,7 @@ jobs:
- name: Download Ratis repo
if: ${{ inputs.ratis-args != '' }}
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
+ uses: actions/download-artifact@v8
with:
name: ratis-jars
path: |
@@ -210,7 +210,7 @@ jobs:
- name: Download Ozone binary tarball
if: ${{ inputs.needs-ozone-binary-tarball }}
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
+ uses: actions/download-artifact@v8
with:
name: ozone-bin
@@ -223,7 +223,7 @@ jobs:
- name: Setup java ${{ inputs.java-version }}
if: ${{ inputs.java-version }}
- uses: actions/setup-java@de7274f081f381c8f8158605e0321c36c376e2e6 # v6.0.1
+ uses: actions/setup-java@v6
with:
distribution: 'temurin'
java-version: ${{ inputs.java-version }}
@@ -268,7 +268,7 @@ jobs:
- name: Archive build results
id: archive
if: ${{ !cancelled() }}
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
+ uses: actions/upload-artifact@v7
with:
name: ${{ (inputs.split && format('{0}-{1}', inputs.script, inputs.split)) || inputs.script }}
# please keep path as a single item; move to that directory all files needed in the artifact
@@ -286,7 +286,7 @@ jobs:
# to avoid the need for 3 more inputs.
- name: Store binaries for tests
if: ${{ inputs.script == 'build' && !cancelled() }}
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
+ uses: actions/upload-artifact@v7
with:
name: ozone-bin
path: |
@@ -296,7 +296,7 @@ jobs:
- name: Store source tarball for compilation
if: ${{ inputs.script == 'build' && !cancelled() }}
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
+ uses: actions/upload-artifact@v7
with:
name: ozone-src
path: |
@@ -305,7 +305,7 @@ jobs:
- name: Store Maven repo for tests
if: ${{ inputs.script == 'build' && !cancelled() }}
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
+ uses: actions/upload-artifact@v7
with:
name: ozone-repo
path: |
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index aad4c794641..a311e3a77aa 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -74,19 +74,19 @@ jobs:
with-coverage: ${{ env.OZONE_WITH_COVERAGE }}
steps:
- name: "Checkout ${{ github.ref }} / ${{ github.sha }} (push)"
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+ uses: actions/checkout@v7
with:
persist-credentials: false
if: github.event_name == 'push'
- name: "Checkout ${{ github.sha }} with its parent (pull request)"
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+ uses: actions/checkout@v7
with:
ref: ${{ github.sha }}
fetch-depth: 2
persist-credentials: false
if: github.event_name == 'pull_request'
- name: "Checkout ${{ inputs.ref }} given in workflow input (manual dispatch)"
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+ uses: actions/checkout@v7
with:
ref: ${{ inputs.ref }}
persist-credentials: false
@@ -448,13 +448,13 @@ jobs:
- integration
steps:
- name: Checkout project
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+ uses: actions/checkout@v7
with:
fetch-depth: 0
persist-credentials: false
ref: ${{ needs.build-info.outputs.sha }}
- name: Cache for maven dependencies
- uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
+ uses: actions/cache/restore@v6
with:
path: |
~/.m2/repository/*/*/*
@@ -463,7 +463,7 @@ jobs:
restore-keys: |
maven-repo-
- name: Download artifacts
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
+ uses: actions/download-artifact@v8
with:
path: target/artifacts
- name: Untar binaries
@@ -471,7 +471,7 @@ jobs:
mkdir -p hadoop-ozone/dist/target
tar xzvf target/artifacts/ozone-bin/ozone*.tar.gz -C hadoop-ozone/dist/target
- name: Setup java ${{ env.TEST_JAVA_VERSION }}
- uses: actions/setup-java@de7274f081f381c8f8158605e0321c36c376e2e6 # v6.0.1
+ uses: actions/setup-java@v6
with:
distribution: 'temurin'
java-version: ${{ env.TEST_JAVA_VERSION }}
@@ -485,7 +485,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
- name: Archive build results
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
+ uses: actions/upload-artifact@v7
with:
name: coverage
path: target/coverage
diff --git a/.github/workflows/close-stale-prs.yaml b/.github/workflows/close-stale-prs.yaml
index 0f4643bb2e2..12972f23df5 100644
--- a/.github/workflows/close-stale-prs.yaml
+++ b/.github/workflows/close-stale-prs.yaml
@@ -27,7 +27,7 @@ jobs:
runs-on: ubuntu-slim
steps:
- name: Close Stale PRs
- uses: actions/stale@4391f3da665fdf50b6810c1a66712fb9ba21aa93 # v11.0.0
+ uses: actions/stale@v11
with:
stale-pr-label: 'stale'
exempt-pr-labels: 'design'
diff --git a/.github/workflows/generate-config-doc.yml b/.github/workflows/generate-config-doc.yml
index a0451a7d4b6..73e10a2d2bb 100644
--- a/.github/workflows/generate-config-doc.yml
+++ b/.github/workflows/generate-config-doc.yml
@@ -28,18 +28,18 @@ jobs:
runs-on: ubuntu-slim
steps:
- name: Checkout project
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+ uses: actions/checkout@v7
with:
persist-credentials: false
ref: ${{ inputs.sha }}
- name: Set up Python
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
+ uses: actions/setup-python@v7
with:
python-version: '3.x'
- name: Download ozone-bin artifact
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
+ uses: actions/download-artifact@v8
with:
name: ozone-bin
path: ozone-bin
@@ -54,7 +54,7 @@ jobs:
python3 dev-support/ci/xml_to_md.py ozone-bin/extracted Configurations.md
- name: Upload generated documentation
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
+ uses: actions/upload-artifact@v7
with:
name: config-documentation
path: Configurations.md
diff --git a/.github/workflows/intermittent-test-check.yml b/.github/workflows/intermittent-test-check.yml
index 37ecde8614a..e0164464856 100644
--- a/.github/workflows/intermittent-test-check.yml
+++ b/.github/workflows/intermittent-test-check.yml
@@ -78,7 +78,7 @@ jobs:
outputs:
matrix: ${{steps.generate.outputs.matrix}}
steps:
- - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+ - uses: actions/checkout@v7
with:
persist-credentials: false
ref: ${{ github.event.inputs.ref }}
@@ -107,12 +107,12 @@ jobs:
timeout-minutes: 60
steps:
- name: Checkout project
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+ uses: actions/checkout@v7
with:
persist-credentials: false
ref: ${{ github.event.inputs.ref }}
- name: Cache for maven dependencies
- uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
+ uses: actions/cache/restore@v6
with:
path: |
~/.m2/repository/*/*/*
@@ -122,13 +122,13 @@ jobs:
maven-repo-
- name: Download Ratis repo
if: ${{ github.event.inputs.ratis-ref != '' }}
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
+ uses: actions/download-artifact@v8
with:
name: ratis-jars
path: |
~/.m2/repository/org/apache/ratis
- name: Setup java
- uses: actions/setup-java@de7274f081f381c8f8158605e0321c36c376e2e6 # v6.0.1
+ uses: actions/setup-java@v6
with:
distribution: 'temurin'
java-version: ${{ github.event.inputs.java-version }}
@@ -142,7 +142,7 @@ jobs:
env:
ratis_args: ${{ needs.ratis.outputs.build-args }}
- name: Store Maven repo for tests
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
+ uses: actions/upload-artifact@v7
with:
name: ozone-repo
path: |
@@ -161,12 +161,12 @@ jobs:
split: ${{fromJson(needs.prepare-job.outputs.matrix)}} # Define splits
fail-fast: ${{ fromJson(github.event.inputs.fail-fast) }}
steps:
- - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+ - uses: actions/checkout@v7
with:
persist-credentials: false
ref: ${{ github.event.inputs.ref }}
- name: Cache for maven dependencies
- uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
+ uses: actions/cache/restore@v6
with:
path: |
~/.m2/repository/*/*/*
@@ -176,20 +176,20 @@ jobs:
maven-repo-
- name: Download Ratis repo
if: ${{ github.event.inputs.ratis-ref != '' }}
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
+ uses: actions/download-artifact@v8
with:
name: ratis-jars
path: |
~/.m2/repository/org/apache/ratis
- name: Download Ozone repo
id: download-ozone-repo
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
+ uses: actions/download-artifact@v8
with:
name: ozone-repo
path: |
~/.m2/repository/org/apache/ozone
- name: Setup java
- uses: actions/setup-java@de7274f081f381c8f8158605e0321c36c376e2e6 # v6.0.1
+ uses: actions/setup-java@v6
with:
distribution: 'temurin'
java-version: ${{ github.event.inputs.java-version }}
@@ -221,7 +221,7 @@ jobs:
run: hadoop-ozone/dev-support/checks/_summary.sh target/flaky/summary.txt
if: ${{ failure() }}
- name: Archive build results
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
+ uses: actions/upload-artifact@v7
if: ${{ failure() }}
with:
name: result-${{ github.run_number }}-${{ github.run_id }}-split-${{ matrix.split }}
@@ -232,7 +232,7 @@ jobs:
runs-on: ubuntu-slim
steps:
- name: Download build results
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
+ uses: actions/download-artifact@v8
- name: Count failures
run: |
failures=$(find . -name 'summary.txt' | grep --text -v 'iteration' | xargs grep --text -v 'exit code: 0' | wc -l)
diff --git a/.github/workflows/label-pr.yml b/.github/workflows/label-pr.yml
index 62c3cf8384c..2bfa0f0d286 100644
--- a/.github/workflows/label-pr.yml
+++ b/.github/workflows/label-pr.yml
@@ -44,7 +44,7 @@ jobs:
fail-fast: false
steps:
- name: "Checkout project" # required for `gh` CLI
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+ uses: actions/checkout@v7
with:
persist-credentials: false
sparse-checkout: |
@@ -66,7 +66,7 @@ jobs:
runs-on: ubuntu-slim
steps:
- name: "Checkout project" # provides .github/labeler.yml for the labeler action
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+ uses: actions/checkout@v7
with:
persist-credentials: false
sparse-checkout: |
@@ -82,7 +82,7 @@ jobs:
env:
GH_TOKEN: ${{ github.token }}
- name: "Apply component labels"
- uses: actions/labeler@bf12e9b00b37c5c0ca2b87b79b2daf7891dbda13 # v7.0.0
+ uses: actions/labeler@v7
with:
pr-number: ${{ steps.prs.outputs.numbers }}
# add only: path rules cannot express why a label was applied manually,
diff --git a/.github/workflows/populate-cache.yml b/.github/workflows/populate-cache.yml
index 3f5a72ebe17..7ab1c399da1 100644
--- a/.github/workflows/populate-cache.yml
+++ b/.github/workflows/populate-cache.yml
@@ -45,13 +45,13 @@ 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 cache for Maven dependencies
id: restore-cache
- uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
+ uses: actions/cache/restore@v6
with:
path: |
~/.m2/repository/*/*/*
@@ -60,7 +60,7 @@ jobs:
- name: Setup Java
if: steps.restore-cache.outputs.cache-hit != 'true'
- uses: actions/setup-java@de7274f081f381c8f8158605e0321c36c376e2e6 # v6.0.1
+ uses: actions/setup-java@v6
with:
distribution: 'temurin'
java-version: ${{ env.TEST_JAVA_VERSION }}
@@ -73,7 +73,7 @@ jobs:
- name: Restore NodeJS tarballs
id: restore-nodejs
if: steps.restore-cache.outputs.cache-hit != 'true'
- uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
+ uses: actions/cache@v6
with:
path: ~/.m2/repository/com/github/eirslett/node
key: nodejs-${{ steps.nodejs-version.outputs.nodejs-version }}
@@ -98,7 +98,7 @@ jobs:
- name: Save cache for Maven dependencies
if: steps.restore-cache.outputs.cache-hit != 'true'
- uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
+ uses: actions/cache/save@v6
with:
path: |
~/.m2/repository/*/*/*
diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml
index 0dc2c044eab..7a0e78f5a34 100644
--- a/.github/workflows/pull-request.yml
+++ b/.github/workflows/pull-request.yml
@@ -34,7 +34,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/repeat-acceptance.yml b/.github/workflows/repeat-acceptance.yml
index b88401cd88f..2efe83328d7 100644
--- a/.github/workflows/repeat-acceptance.yml
+++ b/.github/workflows/repeat-acceptance.yml
@@ -57,7 +57,7 @@ jobs:
outputs:
matrix: ${{steps.generate.outputs.matrix}}
steps:
- - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+ - uses: actions/checkout@v7
with:
persist-credentials: false
ref: ${{ github.event.inputs.ref }}
@@ -83,12 +83,12 @@ jobs:
timeout-minutes: 60
steps:
- name: Checkout project
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+ uses: actions/checkout@v7
with:
persist-credentials: false
ref: ${{ github.event.inputs.ref }}
- name: Cache for npm dependencies
- uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
+ uses: actions/cache@v6
with:
path: |
~/.pnpm-store
@@ -97,7 +97,7 @@ jobs:
restore-keys: |
${{ runner.os }}-pnpm-
- name: Cache for maven dependencies
- uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
+ uses: actions/cache/restore@v6
with:
path: |
~/.m2/repository/*/*/*
@@ -107,7 +107,7 @@ jobs:
maven-repo-${{ hashFiles('**/pom.xml') }}
maven-repo-
- name: Setup java
- uses: actions/setup-java@de7274f081f381c8f8158605e0321c36c376e2e6 # v6.0.1
+ uses: actions/setup-java@v6
with:
distribution: 'temurin'
java-version: ${{ env.JAVA_VERSION }}
@@ -116,7 +116,7 @@ jobs:
env:
DEVELOCITY_ACCESS_KEY: ${{ secrets.OZONE_DEVELOCITY_ACCESS_KEY }}
- name: Store binaries for tests
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
+ uses: actions/upload-artifact@v7
with:
name: ozone-bin
path: |
@@ -134,12 +134,12 @@ jobs:
split: ${{ fromJson(needs.prepare-job.outputs.matrix) }}
fail-fast: ${{ fromJson(github.event.inputs.fail-fast) }}
steps:
- - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+ - uses: actions/checkout@v7
with:
persist-credentials: false
ref: ${{ github.event.inputs.ref }}
- name: Download compiled Ozone binaries
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
+ uses: actions/download-artifact@v8
with:
name: ozone-bin
- name: Untar binaries
@@ -158,7 +158,7 @@ jobs:
run: hadoop-ozone/dev-support/checks/_summary.sh target/${{ github.job }}/summary.txt
if: ${{ !cancelled() }}
- name: Archive build results
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
+ uses: actions/upload-artifact@v7
if: always()
with:
name: acceptance-${{ matrix.split }}
diff --git a/.github/workflows/update-ozone-site-config-doc.yml b/.github/workflows/update-ozone-site-config-doc.yml
index 5bc9ea2ca01..676919e979e 100644
--- a/.github/workflows/update-ozone-site-config-doc.yml
+++ b/.github/workflows/update-ozone-site-config-doc.yml
@@ -34,7 +34,7 @@ jobs:
runs-on: ubuntu-slim
steps:
- name: Download generated documentation
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
+ uses: actions/download-artifact@v8
with:
name: config-documentation
path: .
@@ -117,7 +117,7 @@ jobs:
- name: Checkout ozone repository for script access
if: steps.check-changes.outputs.changed == 'true'
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+ uses: actions/checkout@v7
with:
persist-credentials: false
ref: ${{ github.sha }}
diff --git a/.github/workflows/zizmor.yml b/.github/workflows/zizmor.yml
index 0b0b168e351..75f3d55fc98 100644
--- a/.github/workflows/zizmor.yml
+++ b/.github/workflows/zizmor.yml
@@ -23,9 +23,11 @@ on:
- '**'
paths:
- '.github/workflows/**'
+ - '.github/zizmor.yml'
pull_request:
paths:
- '.github/workflows/**'
+ - '.github/zizmor.yml'
permissions: { }
@@ -40,7 +42,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.yml
similarity index 53%
copy from .github/workflows/pull-request.yml
copy to .github/zizmor.yml
index 0dc2c044eab..b502f74fe54 100644
--- a/.github/workflows/pull-request.yml
+++ b/.github/zizmor.yml
@@ -13,32 +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: { }
-
-concurrency:
- group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
- cancel-in-progress: ${{ github.event_name == 'pull_request' }}
-
-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:
- dev-support/ci/pr_title_check.sh "${TITLE}"
+rules:
+ unpinned-uses:
+ config:
+ policies:
+ actions/*: ref-pin
+ apache/*: ref-pin
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@ozone.apache.org
For additional commands, e-mail: commits-help@ozone.apache.org