Files
hkuds--cli-anything/.github/workflows/pr-labeler.yml
T
wehub-resource-sync 4904b939ef
Check Codex Skill / test-installer (push) Failing after 1s
Deploy to GitHub Pages / build (push) Failing after 1s
Check Root Skills / validate-root-skills (push) Failing after 1s
Deploy to GitHub Pages / deploy (push) Has been skipped
Publish cli-anything-hub to PyPI / publish (push) Failing after 1s
PR Labeler Tests / test (push) Failing after 1s
chore: import upstream snapshot with attribution
2026-07-13 12:06:50 +08:00

34 lines
830 B
YAML

name: Pull Request Labeler
on:
pull_request_target:
types: [opened, synchronize, reopened, ready_for_review]
permissions:
contents: read
issues: write
pull-requests: write
jobs:
label:
runs-on: ubuntu-latest
steps:
- name: Check out base branch
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.base.ref }}
persist-credentials: false
- name: Apply computed labels
uses: actions/github-script@v7
with:
script: |
const labelPullRequest = require("./.github/scripts/pr-labeler.js");
await labelPullRequest({ github, context, core });
- name: Apply path labels
uses: actions/labeler@v6
with:
configuration-path: .github/labeler.yml
sync-labels: true