Skip to content

Commit ee9b7f5

Browse files
JonZeollaclaude
andcommitted
ci: use README command for Windows CI, disable linux jobs temporarily
Use `gh:` syntax in Windows CI to match the exact README command. Pass github.head_ref through env var to satisfy actionlint. Disable lint/test jobs while iterating on Windows support. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 2292452 commit ee9b7f5

1 file changed

Lines changed: 11 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ defaults:
2323

2424
jobs:
2525
lint:
26+
if: false # Temporarily disabled while iterating on Windows support
2627
name: Lint
2728
runs-on: ubuntu-24.04
2829
steps:
@@ -38,6 +39,7 @@ jobs:
3839
- name: Lint
3940
run: task -v lint
4041
test:
42+
if: false # Temporarily disabled while iterating on Windows support
4143
name: Test
4244
runs-on: ubuntu-24.04
4345
permissions:
@@ -106,12 +108,12 @@ jobs:
106108
name: Windows Smoke Test
107109
runs-on: windows-latest
108110
steps:
109-
- name: Checkout the repository
110-
uses: actions/checkout@v6
111111
- name: Setup uv
112112
uses: astral-sh/setup-uv@v7
113113
with:
114114
python-version: ${{ env.python_version }}
115+
enable-cache: false
116+
ignore-empty-workdir: true
115117
- name: Install Task
116118
uses: go-task/setup-task@v2
117119
with:
@@ -121,12 +123,17 @@ jobs:
121123
env:
122124
RUN_POST_HOOK: 'true'
123125
SKIP_GIT_PUSH: 'true'
126+
TEMPLATE_REPO: ${{ github.repository }}
127+
TEMPLATE_REF: ${{ github.head_ref || github.ref_name }}
124128
run: |
125129
git config --global user.name "CI Automation"
126130
git config --global user.email "ci@zenable.io"
127131
128-
uvx --with gitpython cookiecutter . --no-input \
129-
project_name="ci-test-project" \
132+
# Same command as README, plus --checkout for the PR branch and --no-input for CI
133+
uvx --with gitpython cookiecutter \
134+
"gh:${TEMPLATE_REPO}" \
135+
--checkout "${TEMPLATE_REF}" \
136+
--no-input project_name="ci-test-project" \
130137
--output-dir "$RUNNER_TEMP"
131138
- name: Verify generated project
132139
shell: pwsh

0 commit comments

Comments
 (0)