Add style bot (#38102)

add style bot
This commit is contained in:
Marc Sun
2025-05-13 19:07:17 +02:00
committed by GitHub
parent e0f225cb10
commit b499a14b17

19
.github/workflows/pr-style-bot.yml vendored Normal file
View File

@@ -0,0 +1,19 @@
# To run this bot, comment "@bot /style" on a PR
name: Style Bot
on:
issue_comment:
types: [created]
permissions:
contents: write
pull-requests: write
jobs:
style:
uses: huggingface/huggingface_hub/.github/workflows/style-bot-action.yml@main
with:
python_quality_dependencies: "[quality]"
style_command_type: "default"
secrets:
bot_token: ${{ secrets.GITHUB_TOKEN }}