Add optional rejection_reason when rejecting a user access token (#2758) #808
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and push Model Card and Dataset Card examples | |
on: | |
push: | |
branches: | |
- main | |
env: | |
HF_TOKEN: ${{ secrets.HUGGINGFACE_PRODUCTION_USER_TOKEN }} | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.13 | |
# Install dependencies | |
- name: Configure and install dependencies | |
run: | | |
pip install --upgrade pip | |
pip install . | |
pip install Jinja2 | |
# Push cards | |
- name: Push cards | |
run: python utils/push_repocard_examples.py |