Skip to content

Commit

Permalink
revert to cron job and update PR body
Browse files Browse the repository at this point in the history
  • Loading branch information
hanouticelina committed Nov 18, 2024
1 parent 290314b commit 7ebb848
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/api_inference_generate_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,8 @@ name: Update API Inference Documentation

on:
workflow_dispatch:
push:
branches:
- regenerate-api-inference-docs
# schedule:
# - cron: "0 3 * * *" # Every day at 3am
schedule:
- cron: "0 3 * * *" # Every day at 3am

concurrency:
group: api_inference_generate_documentation
Expand Down Expand Up @@ -52,9 +49,10 @@ jobs:
delete-branch: true
title: "[Bot] Update API inference documentation"
body: |
This PR automatically regenerates the API inference documentation by running:
This PR automatically upgrades the `@huggingface/tasks` package and regenerates the API inference documentation by running:
```sh
cd scripts/api-inference
pnpm update @huggingface/tasks@latest
pnpm run generate
```
Expand Down

0 comments on commit 7ebb848

Please sign in to comment.