George Joseph
c565390c91
.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`.
(cherry picked from commit 8f16bf9c8a
)
2025-06-02 13:37:24 +00:00
George Joseph
4c577b7c11
.github: Refactor Releaser to use reusable workflow
...
(cherry picked from commit bff012d32a
)
2025-06-02 13:37:24 +00:00
George Joseph
9be2dbff73
.github: Change branch of reusable workflows to main.
...
(cherry picked from commit 5f4a828056
)
2025-06-02 13:37:24 +00:00
George Joseph
de874740a1
.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
(cherry picked from commit c2c7d64538
)
2025-06-02 13:37:24 +00:00
George Joseph
fea936f4a4
.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. :(
(cherry picked from commit f5f50b29e6
)
2025-06-02 13:37:24 +00:00
George Joseph
9612ddda1d
.github: Move PRChanged,PRChangedPriv,PRCPCheck,PRReCheck,PRMerge logic.
...
Moved to asterisk-ci-actions reusable workflows.
(cherry picked from commit d83b5be7dd
)
2025-06-02 13:37:24 +00:00
George Joseph
8d0bd39fef
.github: OnPRCherryPickTest,OnPRStateChanged,OnPRRecheck: Add job summaries.
...
...and refactor environment variables.
(cherry picked from commit 3356a52fa0
)
2025-06-02 13:37:24 +00:00
George Joseph
c05262600f
.github: Clean up CreateDocs
...
(cherry picked from commit bd163881d4
)
2025-06-02 13:37:24 +00:00
George Joseph
0cae901c97
.github: Set exit 0 in CherryPick and Recheck workflow Cleanup steps
...
(cherry picked from commit ff94f597c0
)
2025-06-02 13:37:24 +00:00
George Joseph
c53acca6ab
.github: Change the run name for OnPRStateChangedPriv
...
(cherry picked from commit bfce4ed473
)
2025-06-02 13:37:24 +00:00
George Joseph
397b4a1de7
.github: Redirect NightlyAdmin to AsteriskNightlyAdmin
...
(cherry picked from commit 69a2bc15b5
)
2025-06-02 13:37:24 +00:00
George Joseph
f8516eaca4
.github: NightlyAdmin now calls external CloseStaleIssuesAndPRs
...
(cherry picked from commit 3b51b1b294
)
2025-06-02 13:37:24 +00:00
George Joseph
33a5ddfd03
.github: Fix realtime param on Weekly and Nightly tests and...
...
Rename the "Cleanup" job in the cherry-pick and recheck jobs
to "Summary".
(cherry picked from commit 1892234069
)
2025-06-02 13:37:24 +00:00
George Joseph
37dd70e445
.github: Add WeeklyTests and make Nightlies Monday-Saturday
...
...and add "realtime" option.
(cherry picked from commit c9450b49f5
)
2025-06-02 13:37:24 +00:00
George Joseph
69bcb3857f
.github: Changes required to use cached builds and shorten names
...
(cherry picked from commit a444430a76
)
2025-06-02 13:37:24 +00:00
George Joseph
6a2aad1d41
.github: Allow testing an Asterisk PR against a testsuite PR
...
(cherry picked from commit a47f92c2f8
)
2024-08-08 13:25:21 +00:00
George Joseph
e1962c0911
.github: Add params to Releaser for FPBX issue creation
...
(cherry picked from commit 74328a7bfe
)
2024-08-08 13:25:21 +00:00
George Joseph
1fad739c76
.github: Pass app_id and app_priv_key to AsteriskMergePR
...
(cherry picked from commit b7a46921c4
)
2024-07-18 14:04:42 +00:00
George Joseph
5eff492417
.github: Change OnPRMergeApproved to use default token
...
(cherry picked from commit 6cd51f082b
)
2024-07-18 14:04:42 +00:00
George Joseph
c912fd2b1a
.github: Use ASTERISKTEAM_PAT for PR merging
...
(cherry picked from commit 9945c25f31
)
2024-07-18 14:04:42 +00:00
George Joseph
ffdb3d748f
.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.
(cherry picked from commit 0527ae4166
)
2024-07-18 14:04:42 +00:00
George Joseph
d5dc0551ad
.github: Refactor NightlyTests to use workflow in asterisk-ci-actions
...
(cherry picked from commit a800a20308
)
2024-07-18 14:04:42 +00:00
George Joseph
107f992e00
.github: Add branches to workflow_dispatch for NightlyTests
...
(cherry picked from commit 1406d558dc
)
2024-07-18 14:04:42 +00:00
George Joseph
06e319b15a
.github: Add PAT to PRSubmitActions/Add Reviewers
...
(cherry picked from commit a7e4c193fc
)
2024-05-09 17:35:59 +00:00
George Joseph
b11158b852
.github: Remove timeout-minutes from gatetests
...
(cherry picked from commit 18f3c355f7
)
2024-05-09 17:35:59 +00:00
George Joseph
f7fe5a7ac3
.github: Pass only single GATETEST_COMMAND to AsteriskGateComposite
...
(cherry picked from commit f841ae8e62
)
2024-05-09 17:35:59 +00:00
George Joseph
8735277a4a
.github: Add force_cherry_pick option to Releaser
...
(cherry picked from commit 031703c596
)
2024-02-21 13:35:04 +00:00
George Joseph
5988bb529e
.github: Remove start_version from Releaser
...
(cherry picked from commit 7d65b0ad80
)
2024-02-21 13:35:04 +00:00
George Joseph
6d29836274
.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.
(cherry picked from commit be9b5bf0a9
)
2024-02-21 13:35:04 +00:00
George Joseph
2d62f1fd05
MergeApproved.yml: Remove unneeded concurrency
...
The concurrency parameter on the MergeAndCherryPick job has
been rmeoved. It was a hold-over from earlier days.
(cherry picked from commit 0f20f39db8
)
2024-02-21 13:35:03 +00:00
George Joseph
8d6ed8285a
.github: PRSubmitActions: Fix adding reviewers to PR
...
(cherry picked from commit 05d26994af
)
2024-02-21 13:35:03 +00:00
George Joseph
c170e84a4b
.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.
(cherry picked from commit cd640dc67b
)
2024-02-21 13:35:03 +00:00
George Joseph
ee5f3461a8
.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.
(cherry picked from commit 5eb676bab5
)
2024-02-21 13:35:03 +00:00
George Joseph
4ba842ad5a
.github: Fix job prereqs in PROpenedUpdated
...
(cherry picked from commit d0a1c2b026
)
2024-02-21 13:35:03 +00:00
George Joseph
f1fb1a406f
.github: Block PR tests until approved
...
(cherry picked from commit 825d3b981a
)
2024-02-21 13:35:03 +00:00
George Joseph
db0594af83
ari-stubs: Fix more local anchor references
...
Also allow CreateDocs job to be run manually with default branches.
(cherry picked from commit 3d01cbaae9
)
2024-02-21 13:35:03 +00:00
George Joseph
2809429b08
ari-stubs: Fix more local anchor references
...
Also allow CreateDocs job to be run manually with default branches.
(cherry picked from commit 2f1d12b7dc
)
2024-02-21 13:35:03 +00:00
George Joseph
4cd5e2cc37
.github: Update workflow-application-token-action to v2
...
(cherry picked from commit 56e592248d
)
2024-02-21 13:35:03 +00:00
George Joseph
ed7a57c959
.github: Use generic releaser
...
(cherry picked from commit a95f98f8bb
)
2024-02-21 13:35:03 +00:00
George Joseph
fc64d2a8da
.github: Fix cherry-pick reminder issues
...
(cherry picked from commit 8aba4a4f88
)
2024-02-21 13:35:03 +00:00
George Joseph
673d3ef945
.github: Minor tweak to Asterisk Releaser
...
(cherry picked from commit 3bb5cef959
)
2024-02-21 13:35:03 +00:00
George Joseph
4850ab66e7
.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.
(cherry picked from commit e1e294a5e3
)
2024-02-21 13:35:03 +00:00
George Joseph
72310e6b5d
.github: Updates for AsteriskReleaser
2023-07-07 13:31:53 -06:00
George Joseph
a46456ef44
.github: Back out triggering PROpenedOrUpdated by label
2023-07-07 13:31:53 -06:00
George Joseph
03c83527e5
.github: Move publish docs to new file CreateDocs.yml
2023-07-07 13:31:53 -06:00
George Joseph
5cc2629bf2
.github: Remove result check from PROpenUpdateGateTests
2023-07-07 13:31:53 -06:00
George Joseph
1e020207d1
.github: Fix use of 'contains'
2023-07-07 13:31:53 -06:00
George Joseph
ac53428da1
.github: Add recheck label test to additional jobs
2023-07-07 13:31:53 -06:00
George Joseph
7159cd2ad3
.github: Fix recheck label typos
2023-07-07 13:31:53 -06:00
George Joseph
6c9c68cb86
.github: Fix recheck label manipulation
2023-07-07 13:31:53 -06:00