Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 20 additions & 16 deletions .github/workflows/cookiecutter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,22 @@ jobs:
with:
token: "${{ secrets.RELEASE_TOKEN }}"
path: "pulp-cli-npm"
- name: "Set up Python"
uses: "actions/setup-python@v6"
with:
python-version: "3.x"
- name: "Setup git"
run: |
git config user.name pulpbot
git config user.email pulp-infra@redhat.com
- name: "Install python dependencies"
run: |
pip install cookiecutter tomlkit
- name: "Set up Python"
uses: "actions/setup-python@v6"
with:
python-version: "3.14"
allow-prereleases: true
- name: "Install uv"
uses: "astral-sh/setup-uv@v7"
with:
enable-cache: true
- name: "Apply cookiecutter templates"
run: |
../pulp-cli/cookiecutter/apply_templates.py
uv run ../pulp-cli/cookiecutter/apply_templates.py
if [ "$(git status --porcelain)" ]
then
git add .
Expand Down Expand Up @@ -68,20 +70,22 @@ jobs:
with:
token: "${{ secrets.RELEASE_TOKEN }}"
path: "pulp-cli-npm"
- name: "Set up Python"
uses: "actions/setup-python@v6"
with:
python-version: "3.x"
- name: "Setup git"
run: |
git config user.name pulpbot
git config user.email pulp-infra@redhat.com
- name: "Install python dependencies"
run: |
pip install packaging tomlkit
- name: "Set up Python"
uses: "actions/setup-python@v6"
with:
python-version: "3.14"
allow-prereleases: true
- name: "Install uv"
uses: "astral-sh/setup-uv@v7"
with:
enable-cache: true
- name: "Apply cookiecutter templates"
run: |
../pulp-cli/cookiecutter/update_pulp_cli.py
uv run ../pulp-cli/cookiecutter/update_pulp_cli.py
if [ "$(git status --porcelain)" ]
then
git add .
Expand Down
Loading