From 60d4b35b20df5e29b2ba85cb18087a7e0200e2d0 Mon Sep 17 00:00:00 2001 From: Yih-Dar <2521628+ydshieh@users.noreply.github.com> Date: Wed, 11 Jun 2025 20:40:04 +0200 Subject: [PATCH] Make style bot trigger CI after push (#38754) fix Co-authored-by: ydshieh --- .github/workflows/pr-style-bot.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/pr-style-bot.yml b/.github/workflows/pr-style-bot.yml index 9ca716ec50d..328375bd666 100644 --- a/.github/workflows/pr-style-bot.yml +++ b/.github/workflows/pr-style-bot.yml @@ -5,10 +5,6 @@ on: issue_comment: types: [created] -permissions: - contents: write - pull-requests: write - jobs: style: uses: huggingface/huggingface_hub/.github/workflows/style-bot-action.yml@main @@ -16,4 +12,4 @@ jobs: python_quality_dependencies: "[quality]" style_command_type: "default" secrets: - bot_token: ${{ secrets.GITHUB_TOKEN }} + bot_token: ${{ secrets.HF_STYLE_BOT_ACTION }}