Commit Graph

8 Commits

Author SHA1 Message Date
George Joseph
1f56d5fe7e .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:45 -07:00
George Joseph
00af359ea9 .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:44 -07:00
George Joseph
eedb73968b .github: Move PRChanged,PRChangedPriv,PRCPCheck,PRReCheck,PRMerge logic.
Moved to asterisk-ci-actions reusable workflows.
2025-02-11 11:27:57 -07:00
George Joseph
f51b5fb5bf .github: Changes required to use cached builds and shorten names 2024-09-18 08:06:23 -06:00
George Joseph
502d8a8811 .github: Pass app_id and app_priv_key to AsteriskMergePR 2024-07-10 10:39:06 -06:00
George Joseph
2350117539 .github: Change OnPRMergeApproved to use default token 2024-07-10 09:30:44 -06:00
George Joseph
17c3080945 .github: Use ASTERISKTEAM_PAT for PR merging 2024-06-28 14:22:54 -06:00
George Joseph
b4eb773d5e .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:18 -06:00