mirror of
https://github.com/asterisk/asterisk.git
synced 2026-07-23 16:05:30 -07:00
.github: Replace PR workflows with stubs that call reusables
The PR workflows now are just stubs that call reusable workflows located in the asterisk-ci-actions repo.
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
name: PRMergeApproved
|
||||
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 }}
|
||||
Reference in New Issue
Block a user