From 6bf22f80f4243a0c717343e36d79f2cbcc2c5af7 Mon Sep 17 00:00:00 2001 From: "baogorek@gmail.com" Date: Fri, 9 Jan 2026 14:44:52 -0500 Subject: [PATCH] Fix versioning workflow checkout for push events MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove PR-specific context variables (github.event.pull_request.head.repo.full_name and github.event.pull_request.head.ref) from the checkout step. These are undefined for push events, causing checkout to fail. Fixes #468 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .github/workflows/versioning.yaml | 2 -- changelog_entry.yaml | 9 +++------ 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/versioning.yaml b/.github/workflows/versioning.yaml index 1207dec4..84667308 100644 --- a/.github/workflows/versioning.yaml +++ b/.github/workflows/versioning.yaml @@ -18,8 +18,6 @@ jobs: - name: Checkout repo uses: actions/checkout@v4 with: - repository: ${{ github.event.pull_request.head.repo.full_name }} - ref: ${{ github.event.pull_request.head.ref }} token: ${{ secrets.POLICYENGINE_GITHUB }} - name: Setup Python uses: actions/setup-python@v5 diff --git a/changelog_entry.yaml b/changelog_entry.yaml index 40dcae30..0f82eb65 100644 --- a/changelog_entry.yaml +++ b/changelog_entry.yaml @@ -1,7 +1,4 @@ -- bump: minor +- bump: patch changes: - added: - - Modal integration for CI/CD workflows, replacing self-hosted GCP runners - changed: - - Updated reusable_test.yaml to trigger data builds on Modal - - Updated local_area_publish.yaml to run on Modal + fixed: + - Versioning workflow checkout for push events