name: label-pr on: pull_request_target: types: [opened] jobs: label: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} - run: npm ci - run: node ./scripts/label-bot.js