Merge branch 'master' into feature/add-artist-to-item-entry-template

This commit is contained in:
Martin Atukunda 2025-07-31 13:19:07 +03:00 committed by GitHub
commit dc789485be
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 590 additions and 577 deletions

View file

@ -1,6 +1,6 @@
name: Verify changelog updated
on:
on:
pull_request_target:
types:
- opened
@ -14,20 +14,20 @@ jobs:
- name: Get all updated Python files
id: changed-python-files
uses: tj-actions/changed-files@v44
uses: tj-actions/changed-files@v46
with:
files: |
**.py
- name: Check for the changelog update
id: changelog-update
uses: tj-actions/changed-files@v44
uses: tj-actions/changed-files@v46
with:
files: docs/changelog.rst
- name: Comment under the PR with a reminder
if: steps.changed-python-files.outputs.any_changed == 'true' && steps.changelog-update.outputs.any_changed == 'false'
uses: thollander/actions-comment-pull-request@v2
with:
message: 'Thank you for the PR! The changelog has not been updated, so here is a friendly reminder to check if you need to add an entry.'
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
message: 'Thank you for the PR! The changelog has not been updated, so here is a friendly reminder to check if you need to add an entry.'
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'

View file

@ -37,7 +37,7 @@ jobs:
- name: Get changed lyrics files
id: lyrics-update
uses: tj-actions/changed-files@v45
uses: tj-actions/changed-files@v46
with:
files: |
beetsplug/lyrics.py

View file

@ -22,13 +22,13 @@ jobs:
- uses: actions/checkout@v4
- name: Get changed docs files
id: changed-doc-files
uses: tj-actions/changed-files@v44
uses: tj-actions/changed-files@v46
with:
files: |
docs/**
- name: Get changed python files
id: raw-changed-python-files
uses: tj-actions/changed-files@v44
uses: tj-actions/changed-files@v46
with:
files: |
**.py

View file

@ -78,7 +78,7 @@ Here's an example plugin that adds a simple command::
my_super_command = Subcommand('super', help='do something super')
def say_hi(lib, opts, args):
print "Hello everybody! I'm a plugin!"
print("Hello everybody! I'm a plugin!")
my_super_command.func = say_hi
class SuperPlug(BeetsPlugin):

1147
poetry.lock generated

File diff suppressed because it is too large Load diff