Skip to content

Commit

Permalink
fix(labeler): upgrade to v5 (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
goulvenclech authored Dec 4, 2024
1 parent 197001a commit aa36d93
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 18 deletions.
35 changes: 21 additions & 14 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,31 @@
# See https://github.com/actions/labeler
"documentation":
- docs/**
documentation:
- changed-files:
- any-glob-to-any-file: docs/**

"crt:csslsrs":
- crates/csslsrs/**
- changed-files:
- any-glob-to-any-file: crates/csslsrs/**

"crt:weblsp":
- crates/weblsp/**
- changed-files:
- any-glob-to-any-file: crates/weblsp/**

"pkg:csslsrs":
- packages/csslsrs/**
- changed-files:
- any-glob-to-any-file: packages/csslsrs/**

"pkg:vscode":
- packages/vscode/**
- changed-files:
- any-glob-to-any-file: packages/vscode/**

"devops":
- .github/**
- .vscode/**
- .zed/**
- .editorconfig
- .gitignore
- justfile
- pnpm-workspace.yaml
devops:
- changed-files:
- any-glob-to-any-file:
- .github/**
- .vscode/**
- .zed/**
- .editorconfig
- .gitignore
- justfile
- pnpm-workspace.yaml
10 changes: 6 additions & 4 deletions .github/workflows/label.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
# Automatically labels PRs based on the configuration file
# you are probably looking for 👉 `.github/labeler.yml`
name: Label PRs

name: "Pull Request Labeler"
on:
- pull_request_target

jobs:
triage:
labeler:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
if: github.repository_owner == 'web-lsp'
steps:
- uses: actions/labeler@v4
- uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: true

0 comments on commit aa36d93

Please sign in to comment.