| 1 |
# To run this bot, comment "@bot /style" on a PR |
| 2 |
name: Style Bot |
| 3 |
|
| 4 |
on: |
| 5 |
issue_comment: |
| 6 |
types: [created] |
| 7 |
|
| 8 |
permissions: |
| 9 |
pull-requests: write |
| 10 |
contents: read |
| 11 |
|
| 12 |
jobs: |
| 13 |
style: |
| 14 |
uses: huggingface/huggingface_hub/.github/workflows/style-bot-action.yml@e2867e92c07d15e1bf18994d0a945ef5ad6b8d65 |
| 15 |
with: |
| 16 |
python_quality_dependencies: "[quality]" |
| 17 |
style_command_type: "default" |
| 18 |
secrets: |
| 19 |
app_id: ${{ secrets.HF_BOT_STYLE_APP_ID }} |
| 20 |
app_private_key: ${{ secrets.HF_BOT_STYLE_SECRET_PEM }} |