mirror of
https://github.com/Refound-445/nonebot-plugin-nailongremove.git
synced 2025-09-27 04:41:56 +08:00
up
This commit is contained in:
parent
e16b7ef924
commit
77997f62ba
6
.github/workflows/pre-commit.yml
vendored
6
.github/workflows/pre-commit.yml
vendored
@ -5,6 +5,8 @@ on:
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
permissions: write-all
|
||||
|
||||
jobs:
|
||||
pre-commit:
|
||||
runs-on: ubuntu-latest
|
||||
@ -26,8 +28,8 @@ jobs:
|
||||
|
||||
- name: Run pre-commit
|
||||
run: |-
|
||||
pdm run pre-commit run --all-files --show-diff-on-failure --color=always
|
||||
local ret=$?
|
||||
local ret=0
|
||||
pdm run pre-commit run --all-files --show-diff-on-failure --color=always || ret=$?
|
||||
|
||||
# push back changes
|
||||
if [[ -n "$(git status -s)" ]]; then
|
||||
|
2
.github/workflows/pypi-publish.yml
vendored
2
.github/workflows/pypi-publish.yml
vendored
@ -25,7 +25,5 @@ jobs:
|
||||
|
||||
- name: Build and Publish distribution 📦 to PyPI
|
||||
run: |-
|
||||
pdm venv create --with-pip
|
||||
eval "$(pdm venv activate)"
|
||||
pdm pre-install
|
||||
pdm pub-all-pub
|
||||
|
Loading…
Reference in New Issue
Block a user