Apache Lucene open-source search software
ci: pin github actions versions in use (#14492)
Robert Muirbfc8d5b7f3c9
diff --git a/.github/actions/prepare-for-build/action.yml b/.github/actions/prepare-for-build/action.ymlindex b2ea6c21468..70b045f8901 100644--- a/.github/actions/prepare-for-build/action.yml+++ b/.github/actions/prepare-for-build/action.yml@@ -19,7 +19,7 @@ runs:using: "composite"steps:- name: Set up Java (${{ inputs.java-distribution }}, ${{ inputs.java-version }})"- uses: actions/setup-java@v4+ uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1with:distribution: ${{ inputs.java-distribution }}java-version: ${{ inputs.java-version }}diff --git a/.github/workflows/activity-report.yml b/.github/workflows/activity-report.ymlindex c0faf48cd43..ba3771e671c 100644--- a/.github/workflows/activity-report.yml+++ b/.github/workflows/activity-report.yml@@ -21,7 +21,7 @@ jobs:runs-on: ubuntu-lateststeps:- - uses: actions/checkout@v4+ - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2with:fetch-depth: 0diff --git a/.github/workflows/label-pull-request.yml b/.github/workflows/label-pull-request.ymlindex 19932d51c04..14631a11ba5 100644--- a/.github/workflows/label-pull-request.yml+++ b/.github/workflows/label-pull-request.yml@@ -18,6 +18,6 @@ jobs:pull-requests: writeruns-on: ubuntu-lateststeps:- - uses: actions/labeler@v5+ - uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0with:- sync-labels: true\ No newline at end of file+ sync-labels: truediff --git a/.github/workflows/mark-stale-PRs.yml b/.github/workflows/mark-stale-PRs.ymlindex a4aa007c9d8..1eb15213b77 100644--- a/.github/workflows/mark-stale-PRs.yml+++ b/.github/workflows/mark-stale-PRs.yml@@ -18,7 +18,7 @@ jobs:pull-requests: writesteps:- - uses: actions/stale@v5+ - uses: actions/stale@99b6c709598e2b0d0841cd037aaf1ba07a4410bd # v5.2.0with:repo-token: ${{ secrets.GITHUB_TOKEN }}diff --git a/.github/workflows/run-checks-all.yml b/.github/workflows/run-checks-all.ymlindex bc46852d4d5..e67dfe3c40f 100644--- a/.github/workflows/run-checks-all.yml+++ b/.github/workflows/run-checks-all.yml@@ -37,7 +37,7 @@ jobs:- name: Correct git autocrlfrun: git config --global core.autocrlf false- - uses: actions/checkout@v4+ - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2- uses: ./.github/actions/prepare-for-build- name: Run gradle check (without tests)@@ -62,7 +62,7 @@ jobs:if: startsWith(matrix.os, 'windows')run: git config --global core.autocrlf false- - uses: actions/checkout@v4+ - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2- uses: ./.github/actions/prepare-for-build- name: Run gradle testsdiff --git a/.github/workflows/run-checks-gradle-upgrade.yml b/.github/workflows/run-checks-gradle-upgrade.ymlindex b026ce96bba..0e067ed2639 100644--- a/.github/workflows/run-checks-gradle-upgrade.yml+++ b/.github/workflows/run-checks-gradle-upgrade.yml@@ -39,7 +39,7 @@ jobs:ALT_JAVA_DIR: /tmp/alt-javasteps:- - uses: actions/checkout@v4+ - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2- uses: ./.github/actions/prepare-for-buildwith:java-version: ${{ matrix.java-version }}diff --git a/.github/workflows/run-checks-mod-analysis-common-hunspell.yml b/.github/workflows/run-checks-mod-analysis-common-hunspell.ymlindex af907cf9da3..a85445ab8b1 100644--- a/.github/workflows/run-checks-mod-analysis-common-hunspell.yml+++ b/.github/workflows/run-checks-mod-analysis-common-hunspell.yml@@ -30,7 +30,7 @@ jobs:runs-on: ubuntu-lateststeps:- - uses: actions/checkout@v4+ - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2- uses: ./.github/actions/prepare-for-build- name: Run Hunspell regression testsdiff --git a/.github/workflows/run-checks-mod-distribution.tests.yml b/.github/workflows/run-checks-mod-distribution.tests.ymlindex b78db6dd946..e6b7638684c 100644--- a/.github/workflows/run-checks-mod-distribution.tests.yml+++ b/.github/workflows/run-checks-mod-distribution.tests.yml@@ -29,7 +29,7 @@ jobs:runs-on: ${{ matrix.os }}steps:- - uses: actions/checkout@v4+ - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2- uses: ./.github/actions/prepare-for-build- name: Run 'gradlew lucene/distribution.tests test' (on ${{ matrix.os }})diff --git a/.github/workflows/run-checks-python.yml b/.github/workflows/run-checks-python.ymlindex 09dceffff3b..0e97e2656e8 100644--- a/.github/workflows/run-checks-python.yml+++ b/.github/workflows/run-checks-python.yml@@ -25,10 +25,10 @@ jobs:runs-on: ubuntu-lateststeps:- - uses: actions/checkout@v4+ - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2- name: Setup Python- uses: actions/setup-python@v5+ uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0with:python-version: "3.12.6"diff --git a/.github/workflows/run-nightly-smoketester.yml b/.github/workflows/run-nightly-smoketester.ymlindex d749588d797..fde978fa20f 100644--- a/.github/workflows/run-nightly-smoketester.yml+++ b/.github/workflows/run-nightly-smoketester.yml@@ -27,9 +27,9 @@ jobs:TMP_DIR: /tmp/lucene-tmp-dirsteps:- - uses: actions/checkout@v4+ - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2- - uses: actions/setup-java@v4+ - uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1with:distribution: 'temurin'java-package: jdk@@ -67,7 +67,7 @@ jobs:- name: "Store smoke tester logs"if: ${{ always() }}- uses: actions/upload-artifact@v4+ uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2with:name: smoke-tester-logs-jdk-${{ matrix.java-version }}path: |diff --git a/.github/workflows/run-scheduled-hunspell.yml b/.github/workflows/run-scheduled-hunspell.ymlindex 354719baacd..0bf5045ce81 100644--- a/.github/workflows/run-scheduled-hunspell.yml+++ b/.github/workflows/run-scheduled-hunspell.yml@@ -18,15 +18,15 @@ jobs:runs-on: ubuntu-lateststeps:- - uses: actions/checkout@v4+ - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2- uses: ./.github/actions/prepare-for-build- name: Run Hunspell regression tests against latest commits in dictionary repositoriesrun: >- ./gradlew -p lucene/analysis/common+ ./gradlew -p lucene/analysis/common-Ptests.hunspell.regressions=true-Ptests.verbose=true-Ptests.hunspell.libreoffice.ref=master-Ptests.hunspell.woorm.ref=main- test- --tests "TestAllDictionaries"\ No newline at end of file+ test+ --tests "TestAllDictionaries"diff --git a/.github/workflows/verify-changelog-and-set-milestone.yml b/.github/workflows/verify-changelog-and-set-milestone.ymlindex 2db521bf5cc..b35ff6b4da5 100644--- a/.github/workflows/verify-changelog-and-set-milestone.yml+++ b/.github/workflows/verify-changelog-and-set-milestone.yml@@ -16,7 +16,7 @@ jobs:steps:- name: Checkout repository- uses: actions/checkout@v4+ uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2with:repository: ${{ github.event.pull_request.head.repo.full_name }}ref: ${{ github.event.pull_request.head.ref }}@@ -102,4 +102,4 @@ jobs:fi# Will uncomment this line after we ensure it runs perfectly in production.# gh pr edit ${{ github.event.number }} --milestone "${lucene_version}"- echo "Adding/Updating milestone for the PR to:${lucene_version}"\ No newline at end of file+ echo "Adding/Updating milestone for the PR to:${lucene_version}"