Skip to content

Generate font tags from tagging spreadsheet #12

Generate font tags from tagging spreadsheet

Generate font tags from tagging spreadsheet #12

Workflow file for this run

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: |
git config --global user.email "m.foley.88@gmail.com"
git config --global user.name "Marc Foley"
gftools font-tags lint .
git checkout -B font-tags
gftools font-tags write .
git add tags/
git commit -m "update family tags"
git push origin font-tags:font-tags
gh pr create --title 'Update font tags' --body 'From GHA' -B font-tags --head main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}