Commit Graph

63 Commits

Author SHA1 Message Date
SkyratBot
2da0e28b04 [MIRROR] Renamed Balance/Rebalance to Balance, and removes unused rebalance tag [MDB IGNORE] (#15103)
* Renamed Balance/Rebalance to Balance, and removes unused rebalance tag (#68485)

* Renamed Balance/Rebalance to Balance, and removes unused rebalance tag

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
2022-07-22 13:09:00 -04:00
SkyratBot
7f53578900 removes the Content Expansion tag, replaces Mechanic with Feature, and lowers its gbp cost from 10 to 6 (#13056)
Co-authored-by: Kylerace <kylerlumpkin1@gmail.com>
2022-04-24 19:13:12 +01:00
SkyratBot
82dab14169 [MIRROR] Add GBP: No Update label when PR title includes [no gbp] [MDB IGNORE] (#12403)
* add GBP: No Update label when title includes [no gbp] (#65739)

Co-authored-by: tattle <article.disaster@ gmail.com>

* Add GBP: No Update label when PR title includes [no gbp]

Co-authored-by: dragomagol <66640614+dragomagol@users.noreply.github.com>
Co-authored-by: tattle <article.disaster@ gmail.com>
2022-03-30 22:23:31 -07:00
jjpark-kb
eb8af98ddf auto host request (#11803) 2022-03-05 10:10:26 -05:00
SkyratBot
22fd8eca10 [MIRROR] Fix GitHub webhook [MDB IGNORE] (#9792)
* Fix GitHub webhook (#63182)

* Fix GitHub webhook

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
2021-11-30 21:42:39 -05:00
SkyratBot
20bdfe4f97 [MIRROR] Limit repository announcements to a whitelist, Discord announces to a blacklist [MDB IGNORE] (#9791)
* Limit repository announcements to a whitelist, Discord announces to a blacklist (#63179)

About The Pull Request

Limits the game announcers only to arrays in a fixed whitelist.

Discord announcements, as they're more for those interested in the technical side, are on a blacklist of patterns. This is set to blacklist anything starting with event-*.

This stops a lot of internal repos from clogging chat, but more importantly is going to be used as events will now be hosted on the tgstation organization, and we want to limit spoilers/confusion on that for people who don't go looking for it.

* Limit repository announcements to a whitelist, Discord announces to a blacklist

* Update tools/WebhookProcessor/github_webhook_processor.php

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>
2021-11-30 21:42:29 -05:00
SkyratBot
9c738967a1 [MIRROR] Fixes an issue with changelog generation where the default lines would be included in the logs (#7465)
* Fixes an issue with changelog generation where the default lines would be included in the logs (#60736)

* In theory this should fix a bug MSO had in coderbus

* Apparently I am a very stupid cat

* Fixes an issue with changelog generation where the default lines would be included in the logs

Co-authored-by: NamelessFairy <40036527+NamelessFairy@users.noreply.github.com>
2021-08-08 22:05:29 +01:00
SkyratBot
0b66913bec Adds content expansion PR type (#6277)
Co-authored-by: NamelessFairy <40036527+NamelessFairy@users.noreply.github.com>
2021-06-13 02:47:31 +01:00
Gandalf
c437a34fe0 TGUI hardset (#5252)
* FFFF

* AAA

* FUCK WE MISSED THIS PR

* Update interface.dm
2021-04-27 17:13:22 +01:00
SkyratBot
3038bfcbc7 [MIRROR] Remove the PR balances part of the webhook (in favor of the action) (#3772)
* Remove the PR balances part of the webhook (#57299)

The action has been working fine, and every bug its had has been solved not with disabling it, but with me resolving it. There's no reason to keep around the old system anymore. Viva la actions.

* Remove the PR balances part of the webhook (in favor of the action)

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
2021-03-03 01:59:49 +00:00
SkyratBot
d2221bc210 [MIRROR] Removes tweak and replaces it with a tag for QoL and Atomic prs (#3374)
* Removes tweak and replaces it with a tag for QoL and Atomic prs (#56890)

* Removes tweak and replaces it with a tag for QoL and Atomic prs

Co-authored-by: Emmett Gaines <ninjanomnom@gmail.com>
2021-02-14 03:40:19 +00:00
SkyratBot
cd2cf79c55 [MIRROR] Skip first whitespace only lines in changelog PR parser (#3051)
* Skip first whitespace only lines (#56534)

Parser won't crash on first empty lines anymore.

* Skip first whitespace only lines in changelog PR parser

Co-authored-by: AnturK <AnturK@users.noreply.github.com>
2021-02-03 22:32:56 +00:00
SkyratBot
f8f8c9e393 [MIRROR] Use draft pull requests instead of the 'Work In Progress' and 'Needs Review' labels. (#2728)
* Use draft pull requests instead of the 'Work In Progress' and 'Needs Review' labels. (#56168)

* Use draft pull requests instead of the 'Work In Progress' and 'Needs Review' labels.

Co-authored-by: Jordan Brown <Cyberboss@users.noreply.github.com>
2021-01-17 13:06:05 +01:00
SkyratBot
600e8ba592 [MIRROR] You now get 1 GBP for sound and sprite PRs (#2361)
* You now get 1 GBP for sound and sprite PRs (#55611)

* You now get 1 GBP for sound and sprite PRs

Co-authored-by: Qustinnus <Floydje123@hotmail.com>
2020-12-29 02:39:16 +00:00
SkyratBot
c4973bd09b [MIRROR] Don't auto apply unit tests label (#2250)
* Merge pull request #55618 from tgstation/Jared-Fogle-patch-1

Don't auto apply unit tests label

* Don't auto apply unit tests label

Co-authored-by: Jordan Brown <Cyberboss@users.noreply.github.com>
2020-12-20 10:55:03 +00:00
SkyratBot
528e327dd1 [MIRROR] Replaces deprecated access syntax in github_webhook_processor.php (#2189)
* Replace deprecated PHP syntax in webhook processor (#55546)

Line 17 of the Run Linters job of the CI Suite workflow:

> PHP Fatal error: Array and string offset access syntax with curly braces is
> no longer supported in ./tools/WebhookProcessor/github_webhook_processor.php
> on line 972

Something, something the PHP version updated to 7.x and dropped curly brackets support.

* Replaces deprecated access syntax in github_webhook_processor.php

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
2020-12-16 07:17:20 +01:00
SkyratBot
988622a270 [MIRROR] GBP Tweaks (#2143)
* GBP Tweaks (#55441)

Some rescaling since the stakes are 10x higher now:

    Fix: +3
    Tweak: -2
    Performance: +12
    Priority: High: +15
    Priority: Critical: +20
    Feedback: +2
    Code Improvement: +2

The intention with the formula tweak is for the highest absolute value of the label set (favoring the negative) to be applied.

* GBP Tweaks

Co-authored-by: Jordan Brown <Cyberboss@users.noreply.github.com>
2020-12-12 12:05:15 +01:00
SkyratBot
923cacf541 [MIRROR] Working on unit test related issues grants 6 GBP, automatically add tag (#1892)
* Working on unit test related issues grants 6 GBP, automatically add tag (#55199)

Unit tests (a label I recently added) will now give 6 GBP. This label should be added to anything that adds a new unit test, even on features.

* Working on unit test related issues grants 6 GBP, automatically add tag

Co-authored-by: Jared-Fogle <35135081+Jared-Fogle@users.noreply.github.com>
2020-11-28 12:53:47 +01:00
SkyratBot
290a335121 [MIRROR] Nerfs GBP gain (#1831)
* Nerfs GBP gain (#55038)

Basically no one ever hits the lower limit and people have fucking bank at this point.

* Nerfs GBP gain

Co-authored-by: Jordan Brown <Cyberboss@users.noreply.github.com>
2020-11-26 00:14:58 +00:00
SkyratBot
598c92621f [MIRROR] Add hook events needed to Webhook Processor header documentation (#1225)
* Merge pull request #54120 from Coolguy3289/patch-2

Add hook events needed to Webhook Processor header documentation

* Add hook events needed to Webhook Processor header documentation

Co-authored-by: oranges <email@oranges.net.nz>
2020-10-09 18:33:27 +02:00
Kyle Spier-Swenson
abe58568c1 Fix game pr announcer
I forgot a step when I converted this to a proper function.
2019-03-06 21:35:57 -08:00
Kyle Spier-Swenson
1ca637d124 [ready] Adds discord webhook support to the github webhook processor. (#42537)
* Adds discord webhook support to the github webhook processor.

* Fix odd bug

* Add discordwebhook config to secrets with example urls

* Forgot a semicolon

* Remove debug lines

* Hide html comments inside pr bodies.

* Add a bunch of configs to announcement endpoints

include_repos
exclude_repos
exclude_events
announce_secret
announce_unvalidated
embed
no_text

* Add support for those configs.

* Fix minor bug

* Fix no embed messages not working

* Adds spoiler support to discord_sanitize
2019-02-02 02:26:16 -05:00
Jordan Brown
74b54620c8 Test merge candidate is removed on commit push (#36266) 2018-03-10 02:09:06 -06:00
Jordan Brown
0eff6e60b0 Fixes unicode changelog tags (#35905) 2018-02-24 00:03:46 -05:00
Jordan Brown
8d88b6a825 Tests give 3 GBP (#35551) 2018-02-12 13:47:42 -05:00
Jordan Brown
8cbbe65f13 Split up Revert/Removal 2018-02-12 09:21:19 -06:00
JJRcop
f6dc5a82f7 $remove is optional in set_labels 2018-01-27 11:25:03 -05:00
JJRcop
7b3d27c695 Fixes webhook diff selecting partial match
By disabling multiline mode, $ becomes the end of the string, so we can match either \Rdiff or $, so that the lazy modifier must match the rest of the string if it can't find \Rdiff
2018-01-11 14:41:54 -05:00
Jordan Brown
04ebd0eb82 Revert "another test for the hook (#34277)" (#34278)
This reverts commit cd1722af8c.
2018-01-10 12:14:51 -08:00
JJRcop
cd1722af8c another test for the hook (#34277)
i could install php and do this myself i guess?
2018-01-10 12:14:12 -08:00
Jonathan (JJRcop)
07d1f7cf19 Fixes webhook diff generator 2018-01-10 14:39:27 -05:00
Jordan Brown
b911805942 Autotag .github => GitHub (#33965) 2017-12-31 15:25:56 -05:00
Jordan Brown
d740691463 Webhook processor will comment negative PR balances on unlabelled PRs (#32771) 2017-11-16 17:07:45 -05:00
Kyle Spier-Swenson
afc266c3ac Fix webhook
again
2017-11-04 17:18:20 -07:00
JJRcop
63370eff30 Fixes Sounds detection in webhook (#32319) 2017-11-02 14:26:30 -04:00
oranges
a5b4d3011a Huge atmos nerf, tweak buff (#32285)
It's not that different from other subsystems to justify the huge extra point cost, and the people who make atmos related changes have attained a great number of points.

Tweak is for small things that shouldn't affect the point balance either way
2017-11-02 03:15:40 -06:00
JJRcop
204330a32e Contributors can add the ready tag to their own prs (#32062)
* Contributors can add the ready tag

* Webhook synchronize case pushes update at the end

* Fixes pr not getting tagged when opened
2017-11-02 10:01:26 +13:00
Kyle Spier-Swenson
3d6e9a72c1 Fixes the other thing 2017-10-31 13:50:50 -07:00
Kyle Spier-Swenson
7ce48884f2 Fix the error. 2017-10-31 13:44:56 -07:00
Kyle Spier-Swenson
da7d046f98 Improves php logging 2017-10-31 13:31:22 -07:00
JJRcop
f7ed9b5f7e Webhook now comments its diff (#32151)
* Webhook now comments its diff instead of its dump

* Fixes variable access in webhook

* Fixes webhook regex flaw

* Missing semicolon in webhook

well... I don't have much to say to you
this is... i mean... 😀😀😁😁😁😁😂😂😂😂😂😂😂😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭

* Fixes anoher webhook regex issue

* Re-adds content to webhook update

* Encapsulates webhook diff in <details>
2017-11-01 09:20:28 +13:00
JJRcop
fd26a28843 Fixes webhook tagging when tree is found anywhere 2017-10-27 13:53:31 -04:00
Kyle Spier-Swenson
b5fde72459 Webhook processor no longer removes [tags] from titles (#32053)
* Webhook processor no longer removes [tags] from titles

This was shit

* Does the oranges
2017-10-26 23:07:26 +13:00
Jordan Brown
82b893953b Renames 'Ready for Review' to 'Review Again' (#31995) 2017-10-23 01:09:58 -04:00
Cyberboss
628a6ca261 Changes starting PR balance to 5 2017-10-16 15:10:50 -05:00
Jordan Brown
6a3e0c2d8e Fixes maintainer detection for review auto-tagging (#31307)
* Fixes maintainer detection for review auto-tagging

* User not author

* oranges was right
2017-10-06 22:33:43 -04:00
Jordan Brown
8ffdbb0d7a Autotagging tgui tree to UI label (#31353) 2017-10-06 22:28:55 -04:00
Jordan Brown
3e1dfddb08 Edits to code/controllers/configuration/entries autotag Config Update 2017-09-30 14:26:58 -04:00
Jordan Brown
abfd57b80f Gives 1 GBP for Grammar and formatting 2017-09-28 12:15:21 -04:00
Jordan Brown
bf575871f7 Fixes webhook processor 2017-09-20 15:26:46 -04:00