rust-sdk/.github/workflows/auto-label-pr.yml
dependabot[bot] 99ee024499
chore(deps): bump actions/labeler from 6 to 7 (#1023)
Bumps [actions/labeler](https://github.com/actions/labeler) from 6 to 7.
- [Release notes](https://github.com/actions/labeler/releases)
- [Commits](https://github.com/actions/labeler/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/labeler
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-21 15:22:29 -04:00

28 lines
No EOL
688 B
YAML

name: Auto Label PR
on:
# Runs workflow when activity on a PR in the workflow's repository occurs.
pull_request_target:
jobs:
auto-label:
permissions:
contents: read
pull-requests: write
issues: write
name: Assign labels
runs-on: ubuntu-latest
timeout-minutes: 5
# Required by gh
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_URL: ${{ github.event.pull_request.html_url }}
steps:
- uses: actions/labeler@v7
with:
# Auto-include paths starting with dot (e.g. .github)
dot: true
# Remove labels when matching files are reverted or no longer changed by the PR
sync-labels: true