Generate font tags from tagging spreadsheet #16
This file contains 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: Generate font tags from tagging spreadsheet | |
on: | |
# For Branch-Protection check. Only the default branch is supported. See | |
# https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection | |
branch_protection_rule: | |
# To guarantee Maintained check is occasionally updated. See | |
# https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained | |
schedule: | |
# midnight everyday | |
#- cron: '0 0 * * *' | |
# every 5 mins for testing | |
- cron: '*/5 * * * *' | |
jobs: | |
pr: | |
name: pull request | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v4.4.0 | |
with: | |
python-version: '3.10' | |
- name: Install packages | |
run: | | |
pip install gftools[qa] | |
shell: bash | |
- name: run cmds | |
run: | | |
gftools font-tags lint . | |
gftools font-tags write . | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v5 | |
with: | |
add-paths: tags/ | |
title: "Update family tags" | |
commit-message: "PR opened by github actions" | |
branch: font-tags |