]> 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)
committerGeorge Joseph <gjoseph@sangoma.com>
Sun, 16 Feb 2025 19:19:45 +0000 (12:19 -0700)
commit1f56d5fe7ea77dff362eec3baf72ff42c43f1ec4
treec739dc581bfb257d408269434b93ccaba6f84571
parentfdbb9e29dd34ba2dc1cc5e28980c7db424aeabfb
.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
.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