mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08:00
24 lines
No EOL
573 B
YAML
24 lines
No EOL
573 B
YAML
name: "Pull Request Labeler (manual)"
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
oldPRs:
|
|
# no multi lines support, so call by single PR only
|
|
description: 'PR number to process'
|
|
required: true
|
|
type: string
|
|
default: '123'
|
|
|
|
jobs:
|
|
labeler:
|
|
permissions:
|
|
contents: read
|
|
pull-requests: write
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- id: label-the-PR
|
|
uses: actions/labeler@v5
|
|
with:
|
|
configuration-path: '.github/labeler.yml'
|
|
pr-number: |
|
|
${{ github.event.inputs.oldPRs }} |