Skip to content

chore(deps): update pnpm to v11 #122

chore(deps): update pnpm to v11

chore(deps): update pnpm to v11 #122

Workflow file for this run

name: PR Labeler
on:
pull_request:
types: [opened, synchronize, reopened]
permissions:
contents: read
pull-requests: write
jobs:
label:
# 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 https://github.com/oxc-project/oxc/pull/21566)
if: github.event.pull_request.head.repo.full_name == github.repository
runs-on: ubuntu-slim
steps:
- uses: actions/labeler@f27b608878404679385c85cfa523b85ccb86e213 # v6
with:
configuration-path: .github/pr-labeler.yml
sync-labels: false
repo-token: ${{ github.token }}