-
Notifications
You must be signed in to change notification settings - Fork 11
34 lines (29 loc) · 996 Bytes
/
update-vim-plugins.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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"