Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tree-sitter/parser-update-action
Dependency updating action for tree-sitter parsers
https://github.com/tree-sitter/parser-update-action
actions tree-sitter
Last synced: 3 months ago
JSON representation
Dependency updating action for tree-sitter parsers
- Host: GitHub
- URL: https://github.com/tree-sitter/parser-update-action
- Owner: tree-sitter
- License: mit
- Created: 2024-02-24T09:55:04.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2024-04-28T14:39:55.000Z (9 months ago)
- Last Synced: 2024-10-08T10:57:21.988Z (3 months ago)
- Topics: actions, tree-sitter
- Language: JavaScript
- Homepage:
- Size: 7.81 KB
- Stars: 1
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tree-sitter parser update
## Options
```yaml
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
```yaml
name: Update dependencieson:
schedule:
- cron: "0 0 * * 0" # every week
workflow_dispatch:permissions:
contents: write
pull-requests: writejobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: npm
node-version: 20
- uses: tree-sitter/[email protected]
with:
parent-name: c
language-name: cpp
```