Dependency updating action for tree-sitter parsers
  • JavaScript 100%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-13 09:55:57 +02:00
.editorconfig feat: initial commit 2024-02-24 22:53:39 +02:00
.gitignore feat: initial commit 2024-02-24 22:53:39 +02:00
action.yml chore: bump versions 2026-11-13 09:55:57 +02:00
LICENSE feat: initial commit 2024-02-24 22:53:39 +02:00
main.js fix: allow upper case in GitHub username (#2) 2024-04-28 17:39:54 +03:00
package.json chore: bump versions 2026-11-13 09:55:57 +02:00
README.md feat: initial commit 2024-02-24 22:53:39 +02:00

Tree-sitter parser update

Options

parent-name:
  description: The parent language name (for scanner updates)
language-name:
  description: The current language name (for scanner updates)
commit-message:
  description: The commit message
  default: "build: update & regenerate parser"
base-branch:
  description: The base branch of the PR
  default: ${{github.event.repository.default_branch}}
head-branch:
  description: The head branch of the PR
  default: update-parser-pr

Example configuration

name: Update dependencies

on:
  schedule:
    - cron: "0 0 * * 0" # every week
  workflow_dispatch:

permissions:
  contents: write
  pull-requests: write

jobs:
  update:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-node@v4
        with:
          cache: npm
          node-version: 20
      - uses: tree-sitter/parser-update-action@v1.1
        with:
          parent-name: c
          language-name: cpp