mirror of
https://github.com/moeru-ai/airi.git
synced 2026-08-14 00:48:06 +00:00
22 lines
630 B
YAML
22 lines
630 B
YAML
name: Handle /hold command
|
|
|
|
on:
|
|
repository_dispatch:
|
|
types: [hold-command]
|
|
|
|
jobs:
|
|
handle:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
pull-requests: write
|
|
steps:
|
|
- uses: actions/github-script@v8
|
|
with:
|
|
script: |
|
|
github.rest.issues.addLabels({
|
|
owner: '${{ github.event.client_payload.github.payload.repository.owner.login }}',
|
|
repo: '${{ github.event.client_payload.github.payload.repository.name }}',
|
|
issue_number: ${{ github.event.client_payload.github.payload.issue.number }},
|
|
labels: ['pr-review/hold']
|
|
})
|