Skip to content

Commit

Permalink
Update labeler action to version 5
Browse files Browse the repository at this point in the history
  • Loading branch information
ZibanPirate committed Jan 1, 2024
1 parent b8da082 commit 3439504
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 18 deletions.
32 changes: 16 additions & 16 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
# Add 'data' to any changes within '_data' folder or any subfolders
data:
- _data/**/*
- changed-files:
- any-glob-to-any-file: "_data/**"

# Add 'schemas' to any changes within '_schemas' folder or any subfolders
schemas:
- _schemas/**/*
- changed-files:
- any-glob-to-any-file: "_schemas/**"

# Add 'csharp' to any changes within 'csharp' folder or any subfolders
csharp:
- csharp/**/*
- changed-files:
- any-glob-to-any-file: "csharp/**"

# Add 'java' to any changes within 'java' folder or any subfolders
java:
- java/**/*
- changed-files:
- any-glob-to-any-file: "java/**"

# Add 'javascript' to any changes within 'javascript' folder or any subfolders
javascript:
- javascript/**/*
- changed-files:
- any-glob-to-any-file: "javascript/**"

# Add 'php' to any changes within 'php' folder or any subfolders
php:
- php/**/*
- changed-files:
- any-glob-to-any-file: "php/**"

# Add 'python' to any changes within 'python' folder or any subfolders
python:
- python/**/*
- changed-files:
- any-glob-to-any-file: "python/**"

# Add 'rust' to any changes within 'rust' folder or any subfolders
rust:
- rust/**/*
- changed-files:
- any-glob-to-any-file: "rust/**"
5 changes: 3 additions & 2 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
name: "Pull Request Labeler"
on:
- pull_request_target
- pull_request

jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@main
- uses: actions/checkout@v4
- uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: true

0 comments on commit 3439504

Please sign in to comment.