Skip to content

Abbreviations

Abbreviations #310

Workflow file for this run

name: Abbreviations
on:
schedule:
- cron: "44 2 * * *"
workflow_dispatch:
jobs:
sync:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout source
uses: actions/checkout@v4
- name: Download VSCode abbreviations
run: |
gh api -H 'Accept: application/vnd.github.raw' '/repos/leanprover/vscode-lean/contents/src/abbreviation/abbreviations.json' >vscode-lean/abbreviations.json
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Sync abbreviations with the VSCode definitions