#733 Add Google Code-In Participant badge (closes #706)
Merged 2 years ago by jflory7. Opened 2 years ago by jflory7.

empty or binary file added
@@ -0,0 +1,28 @@ 

+ %YAML 1.2

+ ---

+ 

+ name:           Google Code-In Participant

+ description:    You participated (as student, mentor, or admin) in Google Code-In with Fedora!

+ creator:        jflory7

+ discussion:     https://pagure.io/fedora-badges/issue/706

+ image_url:      https://badges.fedoraproject.org/pngs/fas-google-codein.png

+ issuer_id:      fedora-project

+ 

+ trigger:

+   all:

+   - topic:  fas.group.member.sponsor

+   - lambda: msg.get('msg', {}).get('group', None) == 'google-codein'

+ 

+ criteria:

+   datanommer:

+       filter:

+         topics:

+         - "%(topic)s"

+         users:

+         - "%(msg.user)s"

+       operation: count

+       condition:

+         greater than or equal to: 1

+ 

+ recipient: "%(msg.user)s"

+ 

The added file is too large to be shown here, see it at: svgs/fas-google-codein.svg

This commit adds the badge design assets for the Google Code-In badge,
along with a rules file to automate awarding the badge based on
membership of a FAS group. I created the FAS group and made @sumantrom
the owner of it:

https://admin.fedoraproject.org/accounts/group/view/google-codein

This will make it more straightforward to award membership badges,
similar to how we already do it for multiple other groups.

Closes #706.

Metadata Update from @jflory7:
- Pull-request tagged with: category - community
- Request assigned

2 years ago

Pull-Request has been merged by jflory7

2 years ago