]> 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:18:29 +0000 (18:18 +0000)
commit5b8dcba9c470ad24e311433561a7ab0a7eb7d510
tree7dc7db125a021e0f8bef2229d2db0100c10688e3
parent6f421adf90c26281614c14d36910fc8ae2a5c076
.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 1f56d5fe7ea77dff362eec3baf72ff42c43f1ec4)
.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