Update Vim plugins #196
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: 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" |