]> 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:47 +0000 (12:19 -0700)
commit9822f6fd25d2bc102ed46381d8e89330cf941e7e
tree4d4fc3710c0a03bb5110a339cb83fd66c4c4a1c4
parent89764215049dc2f8e883b43e70043573fcbe6ed2
.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