You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
asterisk/.github/workflows/OnPRMergeApproved.yml

20 lines
671 B

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 }}