Skip to content

Adapt to migration to web-scrobbler org #50

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 24, 2025
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
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ env:

jobs:
lint:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@master
- uses: actions/cache@v4
Expand All @@ -30,7 +30,7 @@ jobs:
run: poetry install
- uses: pre-commit/action@v3.0.1
test:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
strategy:
matrix:
python-version: ['3.13', '3.12', '3.11', '3.10']
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,15 @@ on:

jobs:
publish:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
environment: pypi
permissions:
id-token: write
steps:
- uses: actions/checkout@master
- uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: '3.13'
- name: Install poetry
uses: abatilo/actions-poetry@v4.0.0
with:
Expand All @@ -24,5 +27,3 @@ jobs:
poetry build
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.pypi_token }}
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ repos:
- id: isort
additional_dependencies: [toml]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.14.1
rev: v1.15.0
hooks:
- id: mypy
additional_dependencies: [types-requests]
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: 'v0.9.4'
rev: 'v0.11.11'
hooks:
- id: ruff
args:
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Edge Addons API

[![CI](https://github.com/inverse/python-edge-addons-api/actions/workflows/main.yml/badge.svg)](https://github.com/inverse/python-edge-addons-api/actions/workflows/main.yml)
[![CI](https://github.com/web-scrobbler/python-edge-addons-api/actions/workflows/main.yml/badge.svg)](https://github.com/web-scrobbler/python-edge-addons-api/actions/workflows/main.yml)

An API client for publishing addons to the Edge store.

Expand All @@ -20,7 +20,9 @@ options = Options(
product_id="Your product ID",
client_id="Your client ID",
api_key="Your API key",
access_token_url="Your access token URL"
retry_count=5 # Retry attempts, default 5
sleep_seconds=3 # Sleep seconds between retries, default 3

)

client = Client(options)
Expand Down