Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

ci: add pull requests labeler workflow #98

Merged
merged 1 commit into from
Jan 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
ci:
- changed-files:
- any-glob-to-any-file:
- .github/workflows/*
- .github/labeler.yml

dependencies:
- changed-files:
- any-glob-to-any-file:
- Cargo.toml
- Cargo.lock

documentation:
- changed-files:
- any-glob-to-any-file:
- README.md
- RELEASE.md
- CHANGELOG.md
- CODE_OF_CONDUCT.md

github_actions:
- changed-files:
- any-glob-to-any-file:
- .github/workflows/*
- .github/labeler.yml

rust:
- changed-files:
- any-glob-to-any-file:
- src/*
- examples/*
- benches/*
27 changes: 27 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: labeler

on:
- pull_request_target

permissions:
actions: read
checks: read
contents: read
deployments: read
issues: read
discussions: read
packages: read
pages: read
pull-requests: write
repository-projects: read
security-events: read
statuses: read

jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: true
Loading