mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-06 01:34:21 +01:00
Merge 'Fix labeler.yml ' from Kim Seon Woo
## Changes - labeler@v4 -> labeler@v5 - GH_TOKEN -> GITHUB_TOKEN - add sparse checkout action(to properly read `.github/labeler.yml`) - fix `.github/labeler.yml` which is where the configurations go ## Reference - Tests in my forked repository   Closes #825
This commit is contained in:
18
.github/labeler.yml
vendored
18
.github/labeler.yml
vendored
@@ -1,17 +1,23 @@
|
||||
bindings/java:
|
||||
- 'bindings/java/**'
|
||||
- changed-files:
|
||||
- any-glob-to-any-file: 'bindings/java/**'
|
||||
|
||||
bindings/go:
|
||||
- 'bindings/go/**'
|
||||
- changed-files:
|
||||
- any-glob-to-any-file: 'bindings/go/**'
|
||||
|
||||
bindings/python:
|
||||
- 'bindings/python/**'
|
||||
- changed-files:
|
||||
- any-glob-to-any-file: 'bindings/python/**'
|
||||
|
||||
bindings/rust:
|
||||
- 'bindings/rust/**'
|
||||
- changed-files:
|
||||
- any-glob-to-any-file: 'bindings/rust/**'
|
||||
|
||||
bindings/wasm:
|
||||
- 'bindings/wasm/**'
|
||||
- changed-files:
|
||||
- any-glob-to-any-file: 'bindings/wasm/**'
|
||||
|
||||
core:
|
||||
- 'core/**'
|
||||
- changed-files:
|
||||
- any-glob-to-any-file: 'core/**'
|
||||
|
||||
10
.github/workflows/labeler.yml
vendored
10
.github/workflows/labeler.yml
vendored
@@ -11,7 +11,11 @@ jobs:
|
||||
pull-requests: write
|
||||
|
||||
steps:
|
||||
- uses: actions/labeler@v4
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
repo-token: "${{ secrets.GH_TOKEN }}"
|
||||
configuration-path: .github/labeler.yml
|
||||
sparse-checkout: |
|
||||
.github
|
||||
- uses: actions/labeler@v5
|
||||
with:
|
||||
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
configuration-path: '.github/labeler.yml'
|
||||
|
||||
Reference in New Issue
Block a user