Skip to content

Update Vim plugins #195

Update Vim plugins

Update Vim plugins #195

name: Update Vim plugins
on:
schedule:
- cron: "3 17 * * *"
jobs:
update:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.M15A_GITHUB_PAT }}
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Update Vim plugins
env:
GITHUB_TOKEN: ${{ secrets.M15A_GITHUB_PAT }}
SOURCEHUT_TOKEN: ${{ secrets.M15A_SOURCEHUT_PAT }}
run: |
nix develop .#ci-update -c bash -c ./tools/update.fnl
- name: Update statistics
run: |
nix develop .#ci-datasci -c bash -c ./tools/daily-stats.sql
nix develop .#ci-datasci -c bash -c ./tools/daily-plot.R
- uses: stefanzweifel/git-auto-commit-action@v5
with:
file_pattern: 'data/*.json data/*.csv data/*.png README.md'
commit_message: "auto: update vim plugins"