mirror of
https://github.com/beetbox/beets.git
synced 2025-12-23 17:13:30 +01:00
Merge branch 'master' into feature/add-artist-to-item-entry-template
This commit is contained in:
commit
dc789485be
5 changed files with 590 additions and 577 deletions
12
.github/workflows/changelog_reminder.yaml
vendored
12
.github/workflows/changelog_reminder.yaml
vendored
|
|
@ -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 }}'
|
||||
|
|
|
|||
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
|
|
@ -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
|
||||
|
|
|
|||
4
.github/workflows/lint.yml
vendored
4
.github/workflows/lint.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
1147
poetry.lock
generated
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue