mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-30 05:20:49 +08:00
Make sure the ring fits.
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
"msg/project/fullname",
|
||||
"msg/fields",
|
||||
"msg/issue/content"
|
||||
"topic",
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,5 +38,9 @@ def main(fullname, fields, content):
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
fullname, fields, content = sys.argv[-3:]
|
||||
topic = sys.argv[-1]
|
||||
if topic != 'io.pagure.prod.pagure.issue.edit':
|
||||
# This message wasn't meant for me...
|
||||
return
|
||||
fullname, fields, content = sys.argv[-4:-1]
|
||||
main(fullname, fields, content)
|
||||
|
||||
Reference in New Issue
Block a user