mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-02 11:06:31 +00:00
After careful review, we believe we can now use the "pull_request_target" workflow trigger instead of "pull_request" which required a separate privliged workflow to add labels and comments to PRs when they are submitted or updated. This allows us to greatly streamline our workflows and remove unneeded ones. * The OnPRChanged workflow was... * Renamed to OnPRCheck * Changed to trigger on pull_request_target and the "recheckpr" label. * Changed to simply call reusable workflows in asterisk-ci-actions. * Changed to use better concurrency groups. * The OnPRCPCheck and OnPRMergeApproved workflows were also... * Changed to simply call reusable workflows in asterisk-ci-actions. * Changed to use better concurrency groups. * The NightlyTest and CreateDocs were also tweaked
26 lines
743 B
YAML
26 lines
743 B
YAML
name: WeeklyTests
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
branches:
|
|
required: false
|
|
type: string
|
|
description: "Array of branches to run: ['21','master']. Defaults to NIGHTLYTEST_BRANCHES"
|
|
group_list:
|
|
required: false
|
|
type: string
|
|
description: "Array of test groups to run: ['ari1','channels']. Defaults to NIGHTLYTEST_LIST"
|
|
|
|
schedule:
|
|
# Sunday 2am
|
|
- cron: '0 2 * * 0'
|
|
|
|
jobs:
|
|
WeeklyTests:
|
|
name: WeeklyTests
|
|
uses: asterisk/asterisk-ci-actions/.github/workflows/AsteriskNightlyTest.yml@main
|
|
with:
|
|
branches: ${{ inputs.branches || vars.NIGHTLYTEST_BRANCHES }}
|
|
group_list: ${{ inputs.group_list || vars.NIGHTLYTEST_LIST }}
|
|
realtime: true
|