Changes

Summary

  1. [GitHub] Fix action using github.context (#4456) (details)
Commit 1e0df59953a085785a45bf97e182e01efea0c354 by noreply
 [GitHub] Fix action using github.context (#4456)

* [GitHub] Fix action using github.context

* use the post-discord-message.py script to avoid msg embeds

* change github.context.payload.pull_request.action

* test bot name using context

* test message

* Update post-github-activity.yml

* Update post-github-activity.yml

* Update post-github-activity.yml

* Update post-github-activity.yml

* Update post-github-activity.yml

* Update post-github-activity.yml

* Update post-github-activity.yml

* Update post-github-activity.yml

* fix all variable uses

* fix wrong merge

* fix use of removed function

* fix pending-discussion

* test empty embeds

* last test in embeds

* propagate the use of github.event

* forgotten github.event to propagate

* if using multiple conditions

* Test list of events instead of array

* Update post-github-activity.yml

* Update post-github-activity.yml

* Update post-github-activity.yml

* Update post-github-activity.yml

* Update post-github-activity.yml

* Update post-github-activity.yml

* fix no embeds, now working!

* minor cosmetic

* split action for GH activities in three different files

* rename created actions

* simplify action conditions

* fix use of user.login, fix PR trigger and cosmetic

* fix cases where no embeds is given

* fix python if

* add stargazer name mention

* test new if condition in action

* update all if condition in the same way

* attempt to fix if condition

* update message reviewers

* it works : good condition for if condition

* fix message for thanking reviewers

* use * for arrays

* reformat message

* use to join function

* apply a if condition to all actions to apply ONLY on sofa-framework

* Apply suggestions from code review

* Update .github/workflows/post-release.yml

Co-authored-by: Paul Baksic <30337881+bakpaul@users.noreply.github.com>

---------

Co-authored-by: Paul Baksic <30337881+bakpaul@users.noreply.github.com>
The file was modified.github/workflows/pr-label-checker.yml (diff)
The file was added.github/workflows/post-github-activity-issues.yml
The file was added.github/workflows/post-github-activity-pr.yml
The file was removed.github/workflows/post-github-activity.yml
The file was modified.github/workflows/stale_github_discussions.yml (diff)
The file was modified.github/workflows/post-release.yml (diff)
The file was modifiedscripts/discord/post-pending-discussions.py (diff)
The file was modified.github/workflows/pr-timing-checker.yml (diff)
The file was modifiedscripts/discord/post-discord-message.py (diff)
The file was modified.github/workflows/post-announcements.yml (diff)
The file was modified.github/workflows/post-pending-discussions.yml (diff)
The file was modified.github/workflows/pr-title-checker.yml (diff)
The file was modified.github/workflows/post-agenda-sofa-dev-meeting.yml (diff)
The file was added.github/workflows/post-github-activity-star.yml