1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-24 08:57:03 -05:00

chore(release-notes): related pull requests workflow fixes

(cherry picked from commit f56fc51c74)
This commit is contained in:
Earl Warren 2024-11-04 12:10:15 +01:00 committed by forgejo-backport-action
parent d624a5edd6
commit 8a65c4d28d

3
release-notes/5778.md Normal file
View file

@ -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).