mirror of
https://github.com/iofq/nvim-treesitter-main.git
synced 2026-01-23 01:15:17 -06:00
auto-update generated.nix
This commit is contained in:
parent
0690686f68
commit
0526fefb04
1 changed files with 24 additions and 0 deletions
24
.github/workflows/update.yaml
vendored
Normal file
24
.github/workflows/update.yaml
vendored
Normal file
|
|
@ -0,0 +1,24 @@
|
||||||
|
---
|
||||||
|
name: update treesitter grammars
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
schedule:
|
||||||
|
- cron: "0 3 * * 0"
|
||||||
|
jobs:
|
||||||
|
update:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
pull-requests: write
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: DeterminateSystems/nix-installer-action@main
|
||||||
|
- uses: DeterminateSystems/flakehub-cache-action@main
|
||||||
|
- run: nix develop --command "generate-parsers"
|
||||||
|
- uses: peter-evans/create-pull-request@v7
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.PAT }}
|
||||||
|
branch: ci/update
|
||||||
|
commit-message: "chore: update generated.nix"
|
||||||
|
title: "chore: update generated.nix"
|
||||||
|
body: "This PR is auto-generated."
|
||||||
Loading…
Add table
Add a link
Reference in a new issue