From 8a65c4d28d448e467cbec63ed24db73d1747ddb1 Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Mon, 4 Nov 2024 12:10:15 +0100 Subject: [PATCH] chore(release-notes): related pull requests workflow fixes (cherry picked from commit f56fc51c74af9cff436abc217309dadaa610dc30) --- release-notes/5778.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 release-notes/5778.md diff --git a/release-notes/5778.md b/release-notes/5778.md new file mode 100644 index 0000000000..a3c6305c57 --- /dev/null +++ b/release-notes/5778.md @@ -0,0 +1,3 @@ +fix: In a Forgejo Actions workflow, the `unlabeled` event type for pull requests was incorrectly mapped to the labeled event type. +fix: When a Forgejo Actions issue or pull request workflow is triggered by an `labeled` or `unlabeled` event type, it misses information about the label added or removed. It is now available in the `label` data member of the event payload. +fix: The pull request workflow must always update the head SHA commit status. Not just when the PR is synchronized, opened or closed. Otherwise it makes it impossible to define a job to be a required check (for instance a job that is triggered when labels are modified and verifies that a given combination is present).