]> git.ipfire.org Git - thirdparty/asterisk.git/commit
.github: Refactor to use pull_request_target trigger.
authorGeorge Joseph <gjoseph@sangoma.com>
Thu, 13 Feb 2025 20:22:31 +0000 (13:22 -0700)
committerAsterisk Development Team <asteriskteam@digium.com>
Thu, 20 Mar 2025 18:34:07 +0000 (18:34 +0000)
commit02bdc2dc37895514e3de0c87e726b654c736aa87
tree707661ec164980abb9b7e8e7ee8795d80f6b6d99
parent26ea320f3cbd2d90f68ecc44011cbf82dbc1b47b
.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 ebb33475bc0e4b1d439689f7ff09882890831da0)
.github/workflows/CreateDocs.yml
.github/workflows/NightlyTests.yml
.github/workflows/OnPRCPCheck.yml
.github/workflows/OnPRChanged.yml [deleted file]
.github/workflows/OnPRChangedPriv.yml [deleted file]
.github/workflows/OnPRCheck.yml [new file with mode: 0644]
.github/workflows/OnPRMergeApproved.yml
.github/workflows/OnPRRecheck.yml [deleted file]
.github/workflows/WeeklyTests.yml