Skip to content

Commit 424593e

Browse files
baogorekclaude
andauthored
Fix versioning workflow checkout for push events (#469)
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 <noreply@anthropic.com>
1 parent af124b7 commit 424593e

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

.github/workflows/versioning.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ jobs:
1818
- name: Checkout repo
1919
uses: actions/checkout@v4
2020
with:
21-
repository: ${{ github.event.pull_request.head.repo.full_name }}
22-
ref: ${{ github.event.pull_request.head.ref }}
2321
token: ${{ secrets.POLICYENGINE_GITHUB }}
2422
- name: Setup Python
2523
uses: actions/setup-python@v5

changelog_entry.yaml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
- bump: minor
1+
- bump: patch
22
changes:
3-
added:
4-
- Modal integration for CI/CD workflows, replacing self-hosted GCP runners
5-
changed:
6-
- Updated reusable_test.yaml to trigger data builds on Modal
7-
- Updated local_area_publish.yaml to run on Modal
3+
fixed:
4+
- Versioning workflow checkout for push events

0 commit comments

Comments
 (0)