Light, fluffy, and always free - The AWS Local Emulator alternative
ci: pin every GitHub Action to a commit SHA (#2979)
Hector Ventura73411043e154
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex d66ee458c2..6eab5a47ca 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -39,9 +39,9 @@ jobs:matrix:shard: [1, 2, 3, 4]steps:- - uses: actions/[email protected]+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1- - uses: actions/[email protected]+ - uses: actions/setup-java@dd06d9cba3e5552c54d9f8ea23572deb30010f7c # v6.0.0with:java-version: '25'distribution: 'temurin'@@ -51,7 +51,7 @@ jobs:# Restore on every shard; save from shard 1 only. With a combined cache step# all four shards would race the same save key: one wins, three spend# post-job time reserving-then-failing plus redundant multi-hundred-MB uploads.- - uses: actions/cache/[email protected]+ - uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0with:path: ~/.m2/repositorykey: maven-${{ runner.os }}-${{ hashFiles('pom.xml') }}@@ -98,7 +98,7 @@ jobs:# restore-keys prefix for the bulk, and re-downloads its delta on each re-run# rather than caching it. pom.xml changed 21 times in 30 days, so that is a# small minority of PRs paying a small delta.- - uses: actions/cache/[email protected]+ - uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0if: always() && matrix.shard == 1 && github.event_name == 'push'with:path: ~/.m2/repository@@ -106,7 +106,7 @@ jobs:- name: Upload shard manifest and resultsif: always()- uses: actions/upload-artifact@v7+ uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1with:name: shard-${{ matrix.shard }}path: |@@ -132,7 +132,7 @@ jobs:echo "shard matrix concluded: ${{ needs.test.result }}"exit 1- - uses: actions/download-artifact@v8+ - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1with:pattern: shard-*path: shardsdiff --git a/.github/workflows/compatibility.yml b/.github/workflows/compatibility.ymlindex d1f6e0d3f5..9c57e18bef 100644--- a/.github/workflows/compatibility.yml+++ b/.github/workflows/compatibility.yml@@ -93,7 +93,7 @@ jobs:runs-on: ubuntu-24.04-armtimeout-minutes: 5steps:- - uses: actions/[email protected]+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1with:sparse-checkout: |compatibility-tests@@ -118,7 +118,7 @@ jobs:- arch: amd64runner: ubuntu-lateststeps:- - uses: actions/[email protected]+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1- uses: graalvm/setup-graalvm@5298d94fb55a4f185c602eeac5de1b553882abe2 # v1with:@@ -140,7 +140,7 @@ jobs:# arch-neutral, so only classifier-based natives re-download), and# `-Dnative` pulls native-image plugins that ci.yml's `mvn test` never# fetches. Expect most of the ~66s of cold resolution back, not all of it.- - uses: actions/cache/[email protected]+ - uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0with:path: ~/.m2/repositorykey: maven-${{ runner.os }}-${{ hashFiles('pom.xml') }}@@ -178,7 +178,7 @@ jobs:run: gzip /tmp/floci-native-image.tar- name: Upload native floci image- uses: actions/upload-artifact@v7+ uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1with:name: floci-native-image-${{ matrix.arch }}path: /tmp/floci-native-image.tar.gz@@ -212,7 +212,7 @@ jobs:steps:- name: Download native floci image- uses: actions/download-artifact@v8+ uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1with:name: floci-native-image-${{ matrix.arch }}path: /tmp@@ -244,7 +244,7 @@ jobs:run: timeout 60 bash -c 'until curl -sf http://localhost:4566/ >/dev/null 2>&1; do sleep 1; done'- name: Checkout repository- uses: actions/[email protected]+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1with:sparse-checkout: |compatibility-tests@@ -318,7 +318,7 @@ jobs:- name: Upload test resultsif: always() && steps.tests.outcome != 'skipped'- uses: actions/upload-artifact@v7+ uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1with:name: compat-results-${{ matrix.test }}path: test-results/diff --git a/.github/workflows/conventional-commits.yml b/.github/workflows/conventional-commits.ymlindex 3e9944d6ad..d3ea3552c4 100644--- a/.github/workflows/conventional-commits.yml+++ b/.github/workflows/conventional-commits.yml@@ -27,7 +27,7 @@ jobs:PATTERN: '^(feat|fix|perf|revert|docs|style|chore|refactor|test|build|ci)(\([-a-zA-Z0-9_.,]+\))?!?: .{1,}'steps:- - uses: actions/[email protected]+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1with:fetch-depth: 0diff --git a/.github/workflows/doc-style.yml b/.github/workflows/doc-style.ymlindex 33372349f7..381ec62604 100644--- a/.github/workflows/doc-style.yml+++ b/.github/workflows/doc-style.yml@@ -15,7 +15,7 @@ jobs:runs-on: ubuntu-lateststeps:- - uses: actions/[email protected]+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1with:fetch-depth: 0diff --git a/.github/workflows/docs-actions.yml b/.github/workflows/docs-actions.ymlindex 2484b20784..b539d9972f 100644--- a/.github/workflows/docs-actions.yml+++ b/.github/workflows/docs-actions.yml@@ -39,10 +39,10 @@ jobs:runs-on: ubuntu-latesttimeout-minutes: 5steps:- - uses: actions/[email protected]+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1- name: Set up Python- uses: actions/setup-python@v7+ uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0with:python-version: "3.x"diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.ymlindex fe2a2a1aaf..0f02cd892e 100644--- a/.github/workflows/docs.yml+++ b/.github/workflows/docs.yml@@ -23,10 +23,10 @@ jobs:runs-on: ubuntu-latesttimeout-minutes: 15steps:- - uses: actions/[email protected]+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1- name: Set up Python- uses: actions/setup-python@v7+ uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0with:python-version: "3.x"diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.ymlindex 08e038eeb3..edc979f835 100644--- a/.github/workflows/nightly.yml+++ b/.github/workflows/nightly.yml@@ -48,7 +48,7 @@ jobs:timeout-minutes: 45steps:- - uses: actions/[email protected]+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1with:ref: main@@ -70,7 +70,7 @@ jobs:# and restoring before `versions:set` keeps it that way. Nothing is saved:# ci.yml is the single writer, and a save here would recreate the mutated-# key garbage described above.- - uses: actions/cache/[email protected]+ - uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0with:path: ~/.m2/repositorykey: maven-${{ runner.os }}-${{ hashFiles('pom.xml') }}@@ -82,7 +82,7 @@ jobs:- name: Build native executablerun: mvn clean package -Dnative -DskipTests -B -Dquarkus.native.additional-build-args-append="-march=x86-64-v2"- - uses: actions/upload-artifact@v7+ - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1with:name: native-amd64path: |@@ -100,7 +100,7 @@ jobs:timeout-minutes: 45steps:- - uses: actions/[email protected]+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1with:ref: main@@ -122,7 +122,7 @@ jobs:# and restoring before `versions:set` keeps it that way. Nothing is saved:# ci.yml is the single writer, and a save here would recreate the mutated-# key garbage described above.- - uses: actions/cache/[email protected]+ - uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0with:path: ~/.m2/repositorykey: maven-${{ runner.os }}-${{ hashFiles('pom.xml') }}@@ -134,7 +134,7 @@ jobs:- name: Build native executablerun: mvn clean package -Dnative -DskipTests -B- - uses: actions/upload-artifact@v7+ - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1with:name: native-arm64path: |@@ -152,16 +152,16 @@ jobs:timeout-minutes: 30steps:- - uses: actions/[email protected]+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1with:ref: main- - uses: actions/download-artifact@v8+ - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1with:name: native-amd64path: native/amd64/- - uses: actions/download-artifact@v8+ - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1with:name: native-arm64path: native/arm64/@@ -188,13 +188,13 @@ jobs:password: ${{ secrets.DOCKERHUB_TOKEN }}- name: Configure AWS credentials- uses: aws-actions/[email protected]+ uses: aws-actions/configure-aws-credentials@e6de054238d6b7531b4efff3b6587d9aade6a06c # v6.2.3with:role-to-assume: ${{ secrets.AWS_ROLE_ARN }}aws-region: us-east-1- name: Login to Amazon ECR Public- uses: aws-actions/amazon-ecr-login@v2+ uses: aws-actions/amazon-ecr-login@062b18b96a7aff071d4dc91bc00c4c1a7945b076 # v2.0.1with:registry-type: publicdiff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex bd40761379..9db6be46fb 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -37,7 +37,7 @@ jobs:timeout-minutes: 45steps:- - uses: actions/[email protected]+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1- uses: graalvm/setup-graalvm@5298d94fb55a4f185c602eeac5de1b553882abe2 # v1with:@@ -49,7 +49,7 @@ jobs:- name: Build native executablerun: mvn clean package -Dnative -DskipTests -B -Dquarkus.native.additional-build-args-append="-march=x86-64-v2"- - uses: actions/upload-artifact@v7+ - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1with:name: native-amd64path: |@@ -66,7 +66,7 @@ jobs:timeout-minutes: 45steps:- - uses: actions/[email protected]+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1- uses: graalvm/setup-graalvm@5298d94fb55a4f185c602eeac5de1b553882abe2 # v1with:@@ -78,7 +78,7 @@ jobs:- name: Build native executablerun: mvn clean package -Dnative -DskipTests -B- - uses: actions/upload-artifact@v7+ - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1with:name: native-arm64path: |@@ -96,7 +96,7 @@ jobs:timeout-minutes: 30steps:- - uses: actions/[email protected]+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1- name: Extract versionid: version@@ -110,12 +110,12 @@ jobs:id: source_daterun: echo "epoch=$(git log -1 --pretty=%ct)" >> "$GITHUB_OUTPUT"- - uses: actions/download-artifact@v8+ - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1with:name: native-amd64path: native/amd64/- - uses: actions/download-artifact@v8+ - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1with:name: native-arm64path: native/arm64/diff --git a/.github/workflows/welcome.yml b/.github/workflows/welcome.ymlindex 1398727373..5db0054e2d 100644--- a/.github/workflows/welcome.yml+++ b/.github/workflows/welcome.yml@@ -22,7 +22,7 @@ jobs:# Block scalars below are literal (|), not folded (>): folding joins Markdown# bullets onto one line. One paragraph per line, because GitHub renders a# single newline in a comment as a hard line break.- - uses: actions/[email protected]+ - uses: actions/first-interaction@1c4688942c71f71d4f5502a26ea67c331730fa4d # v3.1.0with:repo_token: ${{ secrets.GITHUB_TOKEN }}