76 Commits

Author SHA1 Message Date
George Joseph
38cab43227 .github: Update Releaser to use SES email 2025-08-20 12:02:26 -06:00
George Joseph
baf729c7f2 .github: Reduce number of inputs to Releaser to 10.
The max number of inputs supported by GitHub is 10 so
is_security and is_hotfix were factored into a single choice
entry.
2025-07-18 11:26:37 -06:00
George Joseph
472eb45dc9 .github: Add skip-cherry-pick and skip-test-builds to Releaser. 2025-07-18 11:04:04 -06:00
George Joseph
4075d35ed3 .github: Change concurrency group ids so they're unique.
GitHub strikes again.  Apparently the github.ref context variable only
contains the PR number if the workflow is triggered by "pull_request" so
since we just changed the trigger to "pull_request_target" the variable
no longer contains the PR number and is therefore not unique and can't be
used as a concurrency group id.  We now use
`github.triggering_actor-github.head_ref`.
2025-02-20 10:40:04 -07:00
George Joseph
461e9ac304 .github: Refactor Releaser to use reusable workflow 2025-02-16 16:30:00 -07:00
George Joseph
f7573df78c .github: Change branch of reusable workflows to main. 2025-02-16 16:24:27 -07:00
George Joseph
e65bf88bcf .github: Refactor to use pull_request_target trigger.
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
2025-02-16 12:18:39 -07:00
George Joseph
1f1fa06f69 .github: Remove concurrency check in on-labelled workflows.
Apparently you can't use `${{ github.event.number }}` in a concurrency
block in a job that calls a reusable workflow. :(
2025-02-11 14:04:35 -07:00
George Joseph
d55b072a93 .github: Move PRChanged,PRChangedPriv,PRCPCheck,PRReCheck,PRMerge logic.
Moved to asterisk-ci-actions reusable workflows.
2025-02-11 11:13:15 -07:00
George Joseph
7597082312 .github: OnPRCherryPickTest,OnPRStateChanged,OnPRRecheck: Add job summaries.
...and refactor environment variables.
2025-02-10 13:15:04 -07:00
George Joseph
f0852a2465 .github: Clean up CreateDocs 2025-02-10 13:13:49 -07:00
George Joseph
6a2a320de9 .github: Set exit 0 in CherryPick and Recheck workflow Cleanup steps 2025-01-05 10:35:22 -07:00
George Joseph
f36a736a0c .github: Change the run name for OnPRStateChangedPriv 2024-12-18 08:16:51 -07:00
George Joseph
4fcd57f262 .github: Redirect NightlyAdmin to AsteriskNightlyAdmin 2024-11-01 07:54:33 -06:00
George Joseph
bd3bf0214d .github: Fix realtime param on Weekly and Nightly tests and...
Rename the "Cleanup" job in the cherry-pick and recheck jobs
to "Summary".
2024-09-23 08:24:02 -06:00
George Joseph
e93008f6cf .github: Add WeeklyTests and make Nightlies Monday-Saturday
...and add "realtime" option.
2024-09-20 09:27:16 -06:00
George Joseph
7f2776129d .github: Changes required to use cached builds and shorten names 2024-09-18 07:59:19 -06:00
George Joseph
b7879224c1 .github: Allow testing an Asterisk PR against a testsuite PR 2024-07-26 12:58:42 -06:00
George Joseph
e4b0ad45e9 .github: Add params to Releaser for FPBX issue creation 2024-07-26 07:27:37 -06:00
George Joseph
c0d8831636 .github: Pass app_id and app_priv_key to AsteriskMergePR 2024-07-10 10:38:00 -06:00
George Joseph
6cce75409e .github: Change OnPRMergeApproved to use default token 2024-07-10 09:24:28 -06:00
George Joseph
e5b6a5be5e .github: Use ASTERISKTEAM_PAT for PR merging 2024-06-28 13:41:32 -06:00
George Joseph
6feaed5f94 .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.
2024-06-25 07:07:39 -06:00
George Joseph
9076d3678d .github: Refactor NightlyTests to use workflow in asterisk-ci-actions 2024-06-24 19:16:00 -06:00
George Joseph
115d7c01e3 .github: Add branches to workflow_dispatch for NightlyTests 2024-05-14 11:54:17 -06:00
George Joseph
555a541680 .github: NightlyAdmin now calls external CloseStaleIssuesAndPRs 2024-03-20 13:07:44 -06:00
George Joseph
34196f8796 .github: Add PAT to PRSubmitActions/Add Reviewers 2024-03-06 09:21:33 -07:00
George Joseph
109115de3d .github: Remove timeout-minutes from gatetests 2024-03-05 15:17:55 -07:00
George Joseph
491256d7bf .github: Pass only single GATETEST_COMMAND to AsteriskGateComposite 2024-03-05 09:09:53 -07:00
George Joseph
650240aa92 .github: Add force_cherry_pick option to Releaser 2024-02-20 06:49:20 -07:00
George Joseph
de806580f3 .github: Update github-script to v7 and fix a rest bug
Need to update the github-script to v7 to squash deprecation
warnings.

Also fixed the API name for github.rest.pulls.requestReviewers.
2024-02-05 08:31:47 -07:00
George Joseph
63364bfbf4 MergeApproved.yml: Remove unneeded concurrency
The concurrency parameter on the MergeAndCherryPick job has
been rmeoved.  It was a hold-over from earlier days.
2023-12-06 14:27:01 -07:00
Joshua C. Colp
d6fa631d2a Update issue guidelines link for bug reports. 2023-10-27 09:47:08 -03:00
George Joseph
1fc68b1d30 .github: PRSubmitActions: Fix adding reviewers to PR 2023-10-19 09:54:43 -06:00
George Joseph
7b19fdfa3d .github: Remove start_version from Releaser 2023-10-17 12:39:04 -06:00
George Joseph
10204b9d31 .github: New PR Submit workflows
The workflows that get triggered when PRs are submitted or updated
have been replaced with ones that are more secure and have
a higher level of parallelism.
2023-10-17 12:33:17 -06:00
George Joseph
87e053f6d1 .github: Fix job prereqs in PROpenedUpdated 2023-10-09 07:22:59 -06:00
George Joseph
b47200ddf0 .github: Block PR tests until approved 2023-10-05 10:26:04 -06:00
George Joseph
1862a36c3b ari-stubs: Fix more local anchor references
Also allow CreateDocs job to be run manually with default branches.
2023-09-05 13:35:03 -06:00
George Joseph
088b51eac7 .github: Update workflow-application-token-action to v2 2023-08-31 07:23:56 -06:00
George Joseph
df2e7ad37f .github: Use generic releaser 2023-08-15 13:04:38 -06:00
George Joseph
d0e5f2f6be .github: Fix cherry-pick reminder issues 2023-07-17 09:23:08 -06:00
George Joseph
016ff87349 .github: Minor tweak to Asterisk Releaser 2023-07-12 06:39:58 -06:00
George Joseph
6a4f2a7cf7 .github: Suppress cherry-pick reminder for some situations
In PROpenedOrUpdated, the cherry-pick reminder will now be
suppressed if there are already valid 'cherry-pick-to' comments
in the PR or the PR contained a 'cherry-pick-to: none' comment.
2023-07-11 06:31:04 -06:00
George Joseph
a4e21eeb5c .github: Update AsteriskReleaser for security releases 2023-07-07 11:06:24 -06:00
George Joseph
b2cdb530dd .github: Updates for AsteriskReleaser 2023-06-30 07:01:40 -06:00
George Joseph
1f435d8c55 .github: Back out triggering PROpenedOrUpdated by label 2023-06-29 09:06:41 -06:00
George Joseph
32fd0fb1e0 .github: Move publish docs to new file CreateDocs.yml 2023-06-27 10:21:47 -06:00
George Joseph
f0ca38901e .github: Remove result check from PROpenUpdateGateTests 2023-06-27 05:17:45 -06:00
George Joseph
8bf917852c .github: Fix use of 'contains' 2023-06-26 08:45:16 -06:00