Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

sample 1 #120

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions .github/workflows/OnPRCPCheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@ on:
jobs:
PRCPCheck:
if: ${{ github.event.label.name == vars.CHERRY_PICK_TEST_LABEL }}
# concurrency:
# group: cpcheck-${{ github.event.number }}
# cancel-in-progress: true
concurrency:
group: cpcheck-${{ github.base_ref }}-${{ github.ref_name }}
cancel-in-progress: true
name: "run-cpcheck"
uses: asterisk/asterisk-ci-actions/.github/workflows/AsteriskPRCPCheck.yml@main
secrets:
TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: asterisk/asterisk-ci-actions/.github/workflows/AsteriskPRCPCheck.yml@main-pr-target
31 changes: 0 additions & 31 deletions .github/workflows/OnPRChanged.yml

This file was deleted.

14 changes: 14 additions & 0 deletions .github/workflows/OnPRCheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: PRCheck
run-name: "PR ${{ github.event.number }} Check(${{github.event.action}}) by ${{ github.actor }}"
on:
pull_request_target:
types: [opened, reopened, synchronize, labeled ]

jobs:
PRCheck:
name: "run-check"
if: ${{ (github.event.action != 'labeled') || (github.event.action == 'labeled' && github.event.label.name == vars.RECHECKPR_LABEL) }}
concurrency:
group: check-${{ github.base_ref }}-${{ github.ref_name }}
cancel-in-progress: true
uses: asterisk/asterisk-ci-actions/.github/workflows/AsteriskPRCheck.yml@main-pr-target
6 changes: 3 additions & 3 deletions .github/workflows/OnPRMergeApproved.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ on:
jobs:
PRMerge:
if: contains(fromJSON(vars.MERGE_APPROVED_LABELS), github.event.label.name)
# concurrency:
# group: merge-${{ github.event.number }}
# cancel-in-progress: true
concurrency:
group: merge-${{ github.base_ref }}-${{ github.ref_name }}
cancel-in-progress: true
name: "run-merge"
uses: asterisk/asterisk-ci-actions/.github/workflows/AsteriskPRMerge.yml@main
secrets:
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/OnPRRecheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@ on:
jobs:
PRReCheck:
if: ${{ github.event.label.name == vars.RECHECKPR_LABEL }}
# concurrency:
# group: recheck-${{ github.event.number }}
# cancel-in-progress: true
concurrency:
group: recheck-${{ github.base_ref }}-${{ github.ref_name }}
cancel-in-progress: true
name: "run-recheck"
uses: asterisk/asterisk-ci-actions/.github/workflows/AsteriskPRReCheck.yml@main
secrets:
TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: asterisk/asterisk-ci-actions/.github/workflows/AsteriskPRReCheck.yml@main-pr-target
36 changes: 0 additions & 36 deletions sample.call
Original file line number Diff line number Diff line change
@@ -1,40 +1,4 @@
#
# This is a sample file that can be dumped in /var/spool/asterisk/outgoing
# to generate a call. For Asterisk to read call files, you must have the
# pbx_spool.so module loaded.
#
# Comments are indicated by a '#' character that begins a line, or follows
# a space or tab character. To be consistent with the configuration files
# in Asterisk, comments can also be indicated by a semicolon. However, the
# multiline comments (;-- --;) used in Asterisk configuration files are not
# supported. Semicolons can be escaped by a backslash.
#

# Obviously, you MUST specify at least a channel in the same format as you
# would for the "Dial" application. Only one channel name is permitted.
#
Channel: DAHDI/1
#
# You can specify codecs for the call
Codecs: alaw, speex, h264
#
# You may also specify a wait time (default is 45 seconds) for how long to
# wait for the channel to be answered, a retry time (default is 5 mins)
# for how soon to retry this call, and a maximum number of retries (default
# is 0) for how many times to retry this call.
#
MaxRetries: 2
RetryTime: 60
WaitTime: 30

#
# Once the call is answered, you must provide either an application/data
# combination, or a context/extension/priority in which to start the PBX.
#
Context: default
Extension: s
Priority: 1

#
# Alternatively you can specify just an application
# and its arguments to be run, instead of a context
Expand Down
Loading