Ministack: Free, open-source local AWS emulator - 60+ services, Terraform compatible, real databases. Free forever. MIT licensed.
Python awsaws-emulatoraws-localaws-sdkdevtoolsdockerdynamodbec2emulatorlambdalocalstacklocalstack-alternativeministackmock-awsopen-sourcepythons3sqsterraform
ci: allow fork-PR checkout in publish-pr after checkout@v6 default change (#1123)
Jay Janssenef60581ca195
diff --git a/.github/workflows/docker-publish-on-pr.yml b/.github/workflows/docker-publish-on-pr.ymlindex 4c419ef4..c28e460c 100644--- a/.github/workflows/docker-publish-on-pr.yml+++ b/.github/workflows/docker-publish-on-pr.yml@@ -48,10 +48,19 @@ jobs:(`Dockerfile`, `.dockerignore`, or files under `.github/`). A maintainerwill review and build the preview image manually before it is published.+ # checkout@v6 now refuses fork-PR checkouts from pull_request_target+ # unless explicitly allowed, which has failed this job for every fork PR+ # since 2026-07-20. Checking out the PR head is intentional here: the+ # guard above keeps PRs that touch the build/CI surface from reaching+ # this step, and the build passes no secrets (only MINISTACK_VERSION as+ # a build-arg). persist-credentials is disabled so the untrusted tree+ # never holds the repo token — no later step needs git credentials.- uses: actions/checkout@v6if: steps.guard.outputs.skip != 'true'with:ref: ${{ github.event.pull_request.head.sha }}+ allow-unsafe-pr-checkout: true+ persist-credentials: false- name: Get short SHAid: short_sha