From 84f18704dbf6421e28403905c33c350d5a6964e6 Mon Sep 17 00:00:00 2001 From: Manuel Fuchs Date: Thu, 19 Nov 2026 16:44:36 +0100 Subject: [PATCH 1/2] Pin GitHub Actions to commit SHAs --- .github/workflows/check_changelog.yml | 2 +- .github/workflows/ci.yml | 10 +++++----- .github/workflows/hatchet_app_cleaner.yml | 4 ++-- .github/workflows/prepare-release.yml | 2 +- .github/workflows/release.yml | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/check_changelog.yml b/.github/workflows/check_changelog.yml index 240c2026..cce23cfb 100644 --- a/.github/workflows/check_changelog.yml +++ b/.github/workflows/check_changelog.yml @@ -13,7 +13,7 @@ jobs: if: (!contains(github.event.pull_request.labels.*.name, 'skip changelog')) steps: - name: Checkout - uses: actions/checkout@v7 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Check that CHANGELOG is touched run: | git fetch origin ${{ github.base_ref }} --depth 1 && \ diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ed370a9c..65971f34 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,9 +15,9 @@ jobs: runs-on: ubuntu-24.04 steps: - name: Checkout - uses: actions/checkout@v7 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Install Ruby and dependencies - uses: ruby/setup-ruby@v1 + uses: ruby/setup-ruby@f9c4492e86def3e644ab32a0ef185eda5b0c20d0 # v1.342.0 with: bundler-cache: true ruby-version: "4.0" @@ -44,9 +44,9 @@ jobs: HATCHET_BUILDPACK_BASE: https://github.com/heroku/heroku-buildpack-java HATCHET_DEFAULT_STACK: ${{ matrix.stack }} steps: - - uses: actions/checkout@v7 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Install Ruby and dependencies - uses: ruby/setup-ruby@v1 + uses: ruby/setup-ruby@f9c4492e86def3e644ab32a0ef185eda5b0c20d0 # v1.342.0 with: bundler-cache: true ruby-version: "4.0" @@ -59,7 +59,7 @@ jobs: runs-on: ubuntu-24.04 steps: - name: Checkout - uses: actions/checkout@v7 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 # These test both the local development `make run` workflow and that `bin/report` completes successfully # for both passing and failing builds (since `bin/report` can't easily be tested via Hatchet tests). - name: Run buildpack using default app fixture diff --git a/.github/workflows/hatchet_app_cleaner.yml b/.github/workflows/hatchet_app_cleaner.yml index 167ecab7..fb85052b 100644 --- a/.github/workflows/hatchet_app_cleaner.yml +++ b/.github/workflows/hatchet_app_cleaner.yml @@ -19,9 +19,9 @@ jobs: HEROKU_DISABLE_AUTOUPDATE: 1 steps: - name: Checkout - uses: actions/checkout@v7 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Install Ruby and dependencies - uses: ruby/setup-ruby@v1 + uses: ruby/setup-ruby@f9c4492e86def3e644ab32a0ef185eda5b0c20d0 # v1.342.0 with: bundler-cache: true ruby-version: "4.0" diff --git a/.github/workflows/prepare-release.yml b/.github/workflows/prepare-release.yml index d692b574..27c62169 100644 --- a/.github/workflows/prepare-release.yml +++ b/.github/workflows/prepare-release.yml @@ -8,7 +8,7 @@ permissions: {} jobs: prepare-release: - uses: heroku/languages-github-actions/.github/workflows/_classic-buildpack-prepare-release.yml@latest + uses: heroku/languages-github-actions/.github/workflows/_classic-buildpack-prepare-release.yml@923af913b844b3f24ec5bda007a701f6ec38a2a3 # v2.0.0 with: app_id: ${{ vars.LINGUIST_GH_APP_ID }} secrets: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 390639bc..5969ca61 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,7 +26,7 @@ jobs: github.event.pull_request.head.repo.full_name == github.repository && github.event.pull_request.head.ref == 'prepare-release' && github.event.pull_request.user.login == 'heroku-linguist[bot]') - uses: heroku/languages-github-actions/.github/workflows/_classic-buildpack-publish.yml@latest + uses: heroku/languages-github-actions/.github/workflows/_classic-buildpack-publish.yml@923af913b844b3f24ec5bda007a701f6ec38a2a3 # v2.0.0 with: buildpack_id: "heroku/java" app_id: ${{ vars.LINGUIST_GH_APP_ID }} From 13a06109eb738e57d45ae8544b314326c3356e0e Mon Sep 17 00:00:00 2001 From: Manuel Fuchs Date: Thu, 19 Nov 2026 17:56:08 +0100 Subject: [PATCH 2/2] Keep heroku org reusable workflows on latest --- .github/workflows/prepare-release.yml | 2 +- .github/workflows/release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/prepare-release.yml b/.github/workflows/prepare-release.yml index 27c62169..d692b574 100644 --- a/.github/workflows/prepare-release.yml +++ b/.github/workflows/prepare-release.yml @@ -8,7 +8,7 @@ permissions: {} jobs: prepare-release: - uses: heroku/languages-github-actions/.github/workflows/_classic-buildpack-prepare-release.yml@923af913b844b3f24ec5bda007a701f6ec38a2a3 # v2.0.0 + uses: heroku/languages-github-actions/.github/workflows/_classic-buildpack-prepare-release.yml@latest with: app_id: ${{ vars.LINGUIST_GH_APP_ID }} secrets: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5969ca61..390639bc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,7 +26,7 @@ jobs: github.event.pull_request.head.repo.full_name == github.repository && github.event.pull_request.head.ref == 'prepare-release' && github.event.pull_request.user.login == 'heroku-linguist[bot]') - uses: heroku/languages-github-actions/.github/workflows/_classic-buildpack-publish.yml@923af913b844b3f24ec5bda007a701f6ec38a2a3 # v2.0.0 + uses: heroku/languages-github-actions/.github/workflows/_classic-buildpack-publish.yml@latest with: buildpack_id: "heroku/java" app_id: ${{ vars.LINGUIST_GH_APP_ID }}