Commit Graph

76 Commits

Author SHA1 Message Date
George Joseph
6b3d5c19d6 .github: Update Releaser to use SES email 2025-08-20 12:05:13 -06:00
George Joseph
cc95576920 .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:29:33 -06:00
George Joseph
f5ae6f336c .github: Add skip-cherry-pick and skip-test-builds to Releaser. 2025-07-18 11:07:41 -06:00
George Joseph
2b09d5bb31 .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:45:15 -07:00
George Joseph
daa96bf7ba .github: Refactor Releaser to use reusable workflow 2025-02-16 16:30:37 -07:00
George Joseph
2efbe0f8e6 .github: Change branch of reusable workflows to main. 2025-02-16 16:25:13 -07:00
George Joseph
ee9580ffdb .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:19:53 -07:00
George Joseph
78108fae44 .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:01:52 -07:00
George Joseph
c1ba1e5e04 .github: Move PRChanged,PRChangedPriv,PRCPCheck,PRReCheck,PRMerge logic.
Moved to asterisk-ci-actions reusable workflows.
2025-02-11 11:28:05 -07:00
George Joseph
60b1a23fcc .github: OnPRCherryPickTest,OnPRStateChanged,OnPRRecheck: Add job summaries.
...and refactor environment variables.
2025-02-10 13:20:25 -07:00
George Joseph
fe2123952f .github: Clean up CreateDocs 2025-02-10 13:20:23 -07:00
George Joseph
eaca3ef78d .github: Set exit 0 in CherryPick and Recheck workflow Cleanup steps 2025-01-05 10:38:04 -07:00
George Joseph
b5fac0bee4 .github: Change the run name for OnPRStateChangedPriv 2024-12-18 08:19:50 -07:00
George Joseph
3963364ae7 .github: Redirect NightlyAdmin to AsteriskNightlyAdmin 2024-11-01 07:55:40 -06:00
George Joseph
777684b7aa .github: NightlyAdmin now calls external CloseStaleIssuesAndPRs 2024-11-01 07:53:44 -06:00
George Joseph
0b5e9302c1 .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:26:13 -06:00
George Joseph
078966d48d .github: Add WeeklyTests and make Nightlies Monday-Saturday
...and add "realtime" option.
2024-09-20 09:28:50 -06:00
George Joseph
6469f83909 .github: Changes required to use cached builds and shorten names 2024-09-18 08:06:33 -06:00
George Joseph
ac99434281 .github: Allow testing an Asterisk PR against a testsuite PR 2024-07-26 13:00:14 -06:00
George Joseph
61cc8c3860 .github: Add params to Releaser for FPBX issue creation 2024-07-26 07:30:48 -06:00
George Joseph
8b5dafe39c .github: Pass app_id and app_priv_key to AsteriskMergePR 2024-07-10 10:39:13 -06:00
George Joseph
e28c7bc4b4 .github: Change OnPRMergeApproved to use default token 2024-07-10 09:30:51 -06:00
George Joseph
51edc5062d .github: Use ASTERISKTEAM_PAT for PR merging 2024-06-28 14:22:57 -06:00
George Joseph
e5a81346b0 .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-27 09:36:21 -06:00
George Joseph
bafd37ed3e .github: Refactor NightlyTests to use workflow in asterisk-ci-actions 2024-06-27 09:36:21 -06:00
George Joseph
8ebd2bedd5 .github: Add PAT to PRSubmitActions/Add Reviewers 2024-06-27 09:22:00 -06:00
George Joseph
e65073d4df .github: Add branches to workflow_dispatch for NightlyTests 2024-05-14 12:07:50 -06:00
George Joseph
9f182e9f58 .github: Remove timeout-minutes from gatetests 2024-03-05 15:19:43 -07:00
George Joseph
eed8288d0c .github: Pass only single GATETEST_COMMAND to AsteriskGateComposite 2024-03-05 11:24:21 -07:00
George Joseph
bbafb63bb5 .github: Add force_cherry_pick option to Releaser 2024-02-20 06:58:36 -07:00
George Joseph
7bd9f2b5a5 .github: Remove start_version from Releaser 2024-02-20 06:55:29 -07:00
George Joseph
0f3f0f3529 .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:36:27 -07:00
George Joseph
0005aa2995 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:29:18 -07:00
George Joseph
be1e83a6ac .github: PRSubmitActions: Fix adding reviewers to PR 2023-10-19 09:57:14 -06:00
George Joseph
289aa1840e .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:34:13 -06:00
George Joseph
0c1c6e9ada .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:32:06 -06:00
George Joseph
20398e8e95 .github: Fix job prereqs in PROpenedUpdated 2023-10-09 08:19:52 -06:00
George Joseph
e9abf11a26 .github: Block PR tests until approved 2023-10-09 08:19:35 -06:00
Joshua C. Colp
ef7b0f4c3b Update config.yml 2023-10-09 08:17:33 -06:00
George Joseph
a64718c32c ari-stubs: Fix more local anchor references
Also allow CreateDocs job to be run manually with default branches.
2023-09-05 13:36:17 -06:00
George Joseph
b7dae87d1d ari-stubs: Fix more local anchor references
Also allow CreateDocs job to be run manually with default branches.
2023-09-05 13:05:47 -06:00
George Joseph
ddbc56505e .github: Update workflow-application-token-action to v2 2023-08-31 07:26:06 -06:00
George Joseph
d9494ca392 .github: Use generic releaser 2023-08-15 13:13:13 -06:00
George Joseph
12f231c717 .github: Fix cherry-pick reminder issues 2023-07-17 09:26:53 -06:00
George Joseph
0f9de8a3f0 .github: Minor tweak to Asterisk Releaser 2023-07-12 06:48:42 -06:00
George Joseph
cd7e513087 .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:35:37 -06:00
George Joseph
31663fed53 .github: Updates for AsteriskReleaser 2023-06-30 07:02:20 -06:00
George Joseph
4ff17f44a4 .github: Back out triggering PROpenedOrUpdated by label 2023-06-29 09:07:03 -06:00
George Joseph
caf0fd357c .github: Move publish docs to new file CreateDocs.yml 2023-06-27 12:18:48 -06:00
George Joseph
b008fd5919 .github: Remove result check from PROpenUpdateGateTests 2023-06-27 05:18:11 -06:00