mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-25 14:06:27 +00:00
20 lines
671 B
YAML
20 lines
671 B
YAML
name: MergePR
|
|
run-name: "PR ${{ github.event.number }} MergeApproved"
|
|
on:
|
|
pull_request_target:
|
|
types: [labeled]
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.label.name }}-${{ github.event.number }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
MergePR:
|
|
name: MergePR
|
|
if: contains(fromJSON(vars.MERGE_APPROVED_LABELS), github.event.label.name)
|
|
uses: asterisk/asterisk-ci-actions/.github/workflows/AsteriskMergePR.yml@main
|
|
secrets:
|
|
TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
application_id: ${{ secrets.ASTERISK_ORG_ACCESS_APP_ID }}
|
|
application_private_key: ${{ secrets.ASTERISK_ORG_ACCESS_APP_PRIV_KEY }}
|