-
Notifications
You must be signed in to change notification settings - Fork 559
30 lines (27 loc) · 1.82 KB
/
model_card_consistency_reminder.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Model and Dataset Card consistency reminder
on:
pull_request:
paths:
- src/huggingface_hub/repocard.py
- src/huggingface_hub/templates/modelcard_template.md
- src/huggingface_hub/templates/datasetcard_template.md
jobs:
comment:
runs-on: ubuntu-latest
steps:
- name: maintain-comment
uses: actions-cool/maintain-one-comment@v3
with:
body: |
It looks like you've updated code related to model or dataset cards in this PR.
Some content is duplicated among the following files. Please make sure that everything stays consistent.
- [src/.../repocard.py](https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/repocard.py)
- [src/.../datasetcard_template.md](https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/templates/modelcard_template.md)
- [src/.../modelcard_template.md](https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/templates/modelcard_template.md)
- [modelcard.md](https://github.com/huggingface/hub-docs/blob/main/modelcard.md) (`hub-docs` repo)
- [docs/hub/model-cards.md](https://github.com/huggingface/hub-docs/blob/main/docs/hub/model-cards.md) (`hub-docs` repo)
- [docs/hub/model-card-annotated.md](https://github.com/huggingface/hub-docs/blob/main/docs/hub/model-card-annotated.md) (`hub-docs` repo)
- [datasetcard.md](https://github.com/huggingface/hub-docs/blob/main/datasetcard.md) (`hub-docs` repo)
- [docs/hub/datasets-cards.md](https://github.com/huggingface/hub-docs/blob/main/docs/hub/datasets-cards.md) (`hub-docs` repo)
token: ${{ secrets.comment_bot_token }}
body-include: '<!-- Created by actions-cool/maintain-one-comment -->'