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 }}