File tree Expand file tree Collapse file tree 4 files changed +43
-4
lines changed Expand file tree Collapse file tree 4 files changed +43
-4
lines changed Original file line number Diff line number Diff line change
1
+ version : 2
2
+ updates :
3
+ - package-ecosystem : github-actions
4
+ directory : /
5
+ schedule :
6
+ interval : weekly
7
+ day : sunday
8
+ commit-message :
9
+ prefix : ci
10
+ labels : [dependencies]
11
+ open-pull-requests-limit : 1
12
+ groups :
13
+ actions :
14
+ patterns : ["*"]
15
+
16
+ - package-ecosystem : gitsubmodule
17
+ directory : /
18
+ schedule :
19
+ interval : monthly
20
+ day : friday
21
+ commit-message :
22
+ prefix : build
23
+ labels : [dependencies]
24
+ open-pull-requests-limit : 1
25
+ groups :
26
+ submodules :
27
+ patterns : ["*"]
Original file line number Diff line number Diff line change 8
8
- src/**
9
9
- test/**
10
10
- bindings/**
11
- - binding.gyp
11
+ - tree-sitter.json
12
12
pull_request :
13
13
paths :
14
14
- grammar.js
15
15
- src/**
16
16
- test/**
17
17
- bindings/**
18
- - binding.gyp
18
+ - tree-sitter.json
19
19
20
20
concurrency :
21
21
group : ${{github.workflow}}-${{github.ref}}
@@ -28,16 +28,18 @@ jobs:
28
28
strategy :
29
29
fail-fast : false
30
30
matrix :
31
- os : [ubuntu-latest, windows-latest, macos-14 ]
31
+ os : [ubuntu-latest, windows-latest, macos-latest ]
32
32
steps :
33
33
- name : Checkout repository
34
34
uses : actions/checkout@v4
35
35
with :
36
36
submodules : true
37
37
- name : Set up tree-sitter
38
- uses : tree-sitter/setup-action/cli@v1
38
+ uses : tree-sitter/setup-action/cli@v2
39
39
- name : Run parser and binding tests
40
40
uses : tree-sitter/parser-test-action@v2
41
+ with :
42
+ generate : false
41
43
- name : Parse sample files
42
44
uses : tree-sitter/parse-action@v4
43
45
id : parse-files
Original file line number Diff line number Diff line change 7
7
jobs :
8
8
release :
9
9
uses : tree-sitter/workflows/.github/workflows/release.yml@main
10
+ with :
11
+ attestations : true
10
12
permissions :
11
13
contents : write
14
+ id-token : write
15
+ attestations : write
12
16
npm :
13
17
uses : tree-sitter/workflows/.github/workflows/package-npm.yml@main
14
18
secrets :
17
21
uses : tree-sitter/workflows/.github/workflows/package-crates.yml@main
18
22
secrets :
19
23
CARGO_REGISTRY_TOKEN : ${{secrets.CARGO_TOKEN}}
24
+ pypi :
25
+ uses : tree-sitter/workflows/.github/workflows/package-pypi.yml@main
26
+ secrets :
27
+ PYPI_API_TOKEN : ${{secrets.PYPI_TOKEN}}
Original file line number Diff line number Diff line change 5
5
[ ![ matrix] [ matrix ]] ( https://matrix.to/#/#tree-sitter-chat:matrix.org )
6
6
[ ![ npm] [ npm ]] ( https://www.npmjs.com/package/tree-sitter-gitattributes )
7
7
[ ![ crates] [ crates ]] ( https://crates.io/crates/tree-sitter-gitattributes )
8
+ [ ![ pypi] [ pypi ]] ( https://pypi.org/project/tree-sitter-gitattributes/ )
8
9
9
10
A tree-sitter parser for ` .gitattributes ` files.
10
11
@@ -29,3 +30,4 @@ A tree-sitter parser for `.gitattributes` files.
29
30
[ matrix ] : https://img.shields.io/matrix/tree-sitter-chat%3Amatrix.org?logo=matrix&label=matrix
30
31
[ npm ] : https://img.shields.io/npm/v/tree-sitter-gitattributes?logo=npm
31
32
[ crates ] : https://img.shields.io/crates/v/tree-sitter-gitattributes?logo=rust
33
+ [ pypi ] : https://img.shields.io/pypi/v/tree-sitter-gitattributes?logo=pypi&logoColor=ffd242
You can’t perform that action at this time.
0 commit comments