Skip to content
Merged
Show file tree
Hide file tree
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
25 changes: 0 additions & 25 deletions .github/dependabot.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
${{ runner.os }}-pip-

- name: "Set up Python"
uses: "actions/setup-python@v5"
uses: "actions/setup-python@v6"
with:
python-version: "3.11"
python-version: "3.14"
- name: "Install python dependencies"
run: |
pip install build setuptools wheel
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/collect_changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
with:
ref: "main"
fetch-depth: 0
- uses: "actions/setup-python@v5"
- uses: "actions/setup-python@v6"
with:
python-version: "3.11"
python-version: "3.x"
- name: "Setup git"
run: |
git config user.name pulpbot
Expand Down
51 changes: 49 additions & 2 deletions .github/workflows/cookiecutter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ jobs:
token: "${{ secrets.RELEASE_TOKEN }}"
path: "pulp-cli-ostree"
- name: "Set up Python"
uses: "actions/setup-python@v5"
uses: "actions/setup-python@v6"
with:
python-version: "3.11"
python-version: "3.x"
- name: "Setup git"
run: |
git config user.name pulpbot
Expand Down Expand Up @@ -57,4 +57,51 @@ jobs:
env:
GH_TOKEN: "${{ secrets.RELEASE_TOKEN }}"
continue-on-error: true
update-dependencies:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v5"
with:
repository: "pulp/pulp-cli"
path: "pulp-cli"
- uses: "actions/checkout@v5"
with:
token: "${{ secrets.RELEASE_TOKEN }}"
path: "pulp-cli-ostree"
- 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: "Apply cookiecutter templates"
run: |
../pulp-cli/cookiecutter/update_pulp_cli.py
if [ "$(git status --porcelain)" ]
then
git add .
git commit -m "Update CLI and GLUE"
fi
- name: "Create Pull Request"
uses: "peter-evans/create-pull-request@v7"
id: "create_pr"
with:
token: "${{ secrets.RELEASE_TOKEN }}"
title: "Update CLI and GLUE"
body: ""
branch: "update_cli"
delete-branch: true
path: "pulp-cli-ostree"
- name: "Mark PR automerge"
run: |
gh pr merge --rebase --auto "${{ steps.create_pr.outputs.pull-request-number }}"
if: "steps.create_pr.outputs.pull-request-number"
env:
GH_TOKEN: "${{ secrets.RELEASE_TOKEN }}"
continue-on-error: true
...
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
matrix:
python:
- "3.11"
- "3.13"
- "3.14"
steps:
- uses: "actions/checkout@v5"
- uses: "actions/cache@v4"
Expand All @@ -27,7 +27,7 @@ jobs:
with:
name: "pulp_cli_packages"
- name: "Set up Python"
uses: "actions/setup-python@v5"
uses: "actions/setup-python@v6"
with:
python-version: "${{ matrix.python }}"
- name: "Install python dependencies"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ jobs:
with:
fetch-depth: 0
- name: "Set up Python"
uses: "actions/setup-python@v5"
uses: "actions/setup-python@v6"
with:
python-version: "3.11"
python-version: "3.x"
- name: "Install python dependencies"
run: |
pip install toml pygithub
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pr_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ jobs:
- uses: "actions/checkout@v5"
with:
fetch-depth: 0
- uses: "actions/setup-python@v5"
- uses: "actions/setup-python@v6"
with:
python-version: "3.12"
python-version: "3.x"
- name: "Determine PR labels"
run: |
pip install GitPython==3.1.42
git fetch origin ${{ github.event.pull_request.head.sha }}
python .ci/scripts/pr_labels.py "origin/${{ github.base_ref }}" "${{ github.event.pull_request.head.sha }}" >> "$GITHUB_ENV"
- uses: "actions/github-script@v7"
- uses: "actions/github-script@v8"
name: "Apply PR Labels"
with:
script: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
with:
name: "pulp_cli_packages"
- name: "Set up Python"
uses: "actions/setup-python@v5"
uses: "actions/setup-python@v6"
with:
python-version: "3.x"
- name: "Install dependencies"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
with:
token: "${{ secrets.RELEASE_TOKEN }}"
- name: "Set up Python"
uses: "actions/setup-python@v5"
uses: "actions/setup-python@v6"
with:
python-version: "3.x"
- name: "Install dependencies"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release_branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
with:
token: "${{ secrets.RELEASE_TOKEN }}"
- name: "Set up Python"
uses: "actions/setup-python@v5"
uses: "actions/setup-python@v6"
with:
python-version: "3.11"
python-version: "3.x"
- name: "Setup git"
run: |
git config user.name pulpbot
Expand Down Expand Up @@ -41,7 +41,7 @@ jobs:
GH_TOKEN: "${{ secrets.RELEASE_TOKEN }}"
continue-on-error: true
- name: "Add Backport Label for new Branch"
uses: "actions/github-script@v7"
uses: "actions/github-script@v8"
with:
script: |
const { NEW_BRANCH } = process.env;
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
with:
name: "pulp_cli_packages"
- name: "Set up Python"
uses: "actions/setup-python@v5"
uses: "actions/setup-python@v6"
with:
python-version: "${{ matrix.python }}"
allow-prereleases: true
Expand Down
6 changes: 3 additions & 3 deletions lint_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Lint requirements
black==25.1.0
black==25.9.0
flake8==7.3.0
flake8-pyproject==1.2.3
isort==6.0.1
mypy==1.17.1
isort==6.1.0
mypy==1.18.2
shellcheck-py==0.11.0.1

# Type annotation stubs
Expand Down
Loading