Files
renovate[bot] 07a189c070 chore(deps): update actions/labeler action to v7 (#24954)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [actions/labeler](https://redirect.github.com/actions/labeler) |
action | major | `v6.2.0` → `v7.0.0` |

---

### Release Notes

<details>
<summary>actions/labeler (actions/labeler)</summary>

###
[`v7.0.0`](https://redirect.github.com/actions/labeler/compare/v6.2.0...v7.0.0)

[Compare
Source](https://redirect.github.com/actions/labeler/compare/v6.2.0...v7.0.0)

</details>

---

### Configuration

📅 **Schedule**: (in timezone Asia/Shanghai)

- Branch creation
  - "before 10am on monday"
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/oxc-project/oxc).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yODAuMCIsInVwZGF0ZWRJblZlciI6IjQzLjI4MC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-26 20:22:17 +01:00

29 lines
1.0 KiB
YAML

name: Label PR
permissions: {}
on:
pull_request:
types:
- opened
- edited
- synchronize
- reopened
jobs:
label:
name: Label PR
# Skip on PRs from forks.
# In `pull_request` events, `GITHUB_TOKEN` is read-only for PRs from forks, so adding labels would fail.
# This means labeling only runs on internal PRs (i.e. from core contributors who have write access to the repo).
# The simplest way to extend it to external contributors making PRs from forks would be to switch to
# `pull_request_target` event, but we don't want to do that due to the security risks of `pull_request_target`
# (see PR #21566).
if: github.event.pull_request.head.repo.full_name == github.repository
permissions:
contents: read # `actions/labeler` reads `.github/labeler.yml` via the GitHub API
pull-requests: write # `actions/labeler` adds labels to the PR, requires write permission
runs-on: ubuntu-slim
steps:
- uses: actions/labeler@bf12e9b00b37c5c0ca2b87b79b2daf7891dbda13 # v7.0.0