Skip to content

Commit 9d67c66

Browse files
committed
[CI] Bump style-bot to hardened TOCTOU-fix SHA
1 parent 10b9104 commit 9d67c66

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/pr_style_bot.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,13 @@ on:
66

77
permissions:
88
pull-requests: write
9+
contents: read
910

1011
jobs:
1112
style:
12-
uses: huggingface/huggingface_hub/.github/workflows/style-bot-action.yml@e000c1c89c65aee188041723456ac3a479416d4c # main
13+
uses: huggingface/huggingface_hub/.github/workflows/style-bot-action.yml@db5c4b2fbec4cd6df3f6dc13ce5abf584d36b859
1314
with:
1415
python_quality_dependencies: "[quality]"
1516
secrets:
16-
bot_token: ${{ secrets.HF_STYLE_BOT_ACTION }}
17+
app_id: ${{ secrets.HF_BOT_STYLE_APP_ID }}
18+
app_private_key: ${{ secrets.HF_BOT_STYLE_SECRET_PEM }}

0 commit comments

Comments
 (0)