From 01b69b2f982fd7396d5079b09cc94c9e09f5267c Mon Sep 17 00:00:00 2001 From: Ella Charlaix Date: Tue, 10 Jun 2025 16:24:30 +0200 Subject: [PATCH] Add style bot --- .github/workflows/style_bot.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/style_bot.yml diff --git a/.github/workflows/style_bot.yml b/.github/workflows/style_bot.yml new file mode 100644 index 0000000000..896cadde04 --- /dev/null +++ b/.github/workflows/style_bot.yml @@ -0,0 +1,18 @@ +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: "style_only" + secrets: + bot_token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file