Skip to content

Commit 8aac2b7

Browse files
authored
Fix/bump style bot sha (#1229)
* [CI] Bump style-bot-action to hardened SHA (TOCTOU fix) * [CI] Bump style-bot-action SHA (fix GraphQL type mismatch) * [CI] Fix: use correct full SHA for style-bot-action * [CI] Bump style-bot-action SHA (pushedDate null fix) * [CI] Fix: use correct full SHA for style-bot-action * [CI] Bump style-bot-action SHA (add pull-requests permission) * [CI] Bump style-bot-action SHA (per-job permissions) * [CI] Add contents: read permission required by reusable workflow * [CI] Bump style-bot-action SHA * [CI] Bump style-bot-action to final hardened SHA * [CI] Bump style-bot-action SHA + switch to GitHub App
1 parent a67c557 commit 8aac2b7

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/pr_style_bot.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ permissions:
1010

1111
jobs:
1212
style:
13-
uses: huggingface/huggingface_hub/.github/workflows/style-bot-action.yml@b85b288d73b43e883401004a697010abea7adf1d
13+
uses: huggingface/huggingface_hub/.github/workflows/style-bot-action.yml@e5365a9b53b19a0888a442075cc1032ab988a466
1414
with:
1515
python_quality_dependencies: "[quality]"
1616
secrets:
17-
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)