Commit graph

66 commits

Author SHA1 Message Date
Zay Hanlon
dca77054c5
Onboarding: Add 'zayhanlon' to Humans (#8166)
As part of onboarding issue, add 'zayhanlon' to Humans within receive-from-github.js
2022-10-11 11:35:23 -05:00
wclithero
eac6134b79
Request to add wclithero as a maintainer (#7087)
Co-authored-by: Zach Wasserman <[email protected]>
2022-09-21 17:08:14 -07:00
Mike McNeil
e5ab039e2b
GitHub bot: Separate bots and humans for clarity, remove old bot username, etc (#7846) 2022-09-19 22:09:02 -05:00
Marcos Oviedo
dd50d0c889
Add myself as maintainer in receive-from-github.js webhook (#7824) 2022-09-19 19:13:10 -03:00
Frank Sievertsen
5614ab2501
Add fx5 to list of GitHub usernames (#7683) 2022-09-12 17:14:06 +02:00
Charlie Chance
fe69cc7da8
Update: removed offboarded fleeties (#7427)
* Update: removed offboarded fleeties

* Update receive-from-github.js

Co-authored-by: Mike McNeil <[email protected]>
2022-08-29 13:56:16 -05:00
Eric
c1f2e8a810
Update sails.helpers.http.del usage (#7340)
Co-authored-by: Mike McNeil <[email protected]>
2022-08-22 13:11:54 -05:00
Eric
667c566b28
Website: Remove machinepack-github dependency (#7101)
* Remove machinepack-github dependency, update recieve-from-github

* remove unused variable, update headers in delete request
2022-08-08 16:58:48 -05:00
Artemis Tosini
e6e1a0fa02
Add artemist-work as maintainer in receive-from-github.js webhook (#7034) 2022-08-03 10:39:13 -05:00
Mike McNeil
0276640630
Bot: Fix GitHub API integration for adding "#handbook" label (#7011)
Closes https://github.com/fleetdm/confidential/issues/1574

This is a follow-up to fix a couple of issues introduced in https://github.com/fleetdm/fleet/pull/6967
2022-08-01 23:14:56 -05:00
Eric
20afcb8f29
Add #handbook label to handbook only PRs (#6967)
* add #handbook label to handbook PRs

* Update get-is-pr-only-handbook-changes.js

* remove while loop from _.all()

* revert changes to github token name

* Simplifications

Co-authored-by: Mike McNeil <[email protected]>
2022-08-01 22:27:54 -05:00
Mike McNeil
fece71a6a0
Tool: Ryan from mergefreeze suggests trying this (#6922) 2022-07-27 11:21:29 -05:00
Mike McNeil
ff116226a7
Tool: Workaround for mergefreeze API (#6908)
A timeboxed workaround for an intermittent issue where the mergefreeze API reports that a repo is frozen: false, when the mergefreeze UI says that it is actually truly frozen.
2022-07-27 01:41:57 -05:00
Mike McNeil
c5adb912f9
Tool: Remove MergeFreeze logs (#6907)
Turns out the issue being debugged in https://github.com/fleetdm/fleet/pull/6906 was in the API itself-- somehow it can get stuck on frozen: false.  If that happens, the solution is to freeze/unfreeze everything in the dashboard
2022-07-27 01:19:47 -05:00
Mike McNeil
878c21c491
Tool: Debug github webhook (#6906) 2022-07-27 00:56:50 -05:00
Mike McNeil
39fea292b9
Tool: Bring back mergefreeze API integration (#6905)
* Tool: Bring back mergefreeze API integration

Context: https://github.com/fleetdm/fleet/pull/5628#issuecomment-1196175485

Unfortunately, the API doesn't work.

* Lay out how this would work in the database - but instead, do it ephemerally for now

* Remove model

* Maintain state (the easy way for now)
2022-07-27 00:36:31 -05:00
Robert Fairburn
189362c2af
Add rfairburn to receive-from-github.js (#6848) 2022-07-25 18:36:04 -05:00
Chris McGillicuddy
c42b9e550a
Onboarding: GitHub maintainer list (#6746) 2022-07-19 13:04:09 -06:00
Gabriel Hernandez
97bb979a95
add ghernandez345 as contributor (#6639) 2022-07-13 08:40:05 -07:00
Mo Zhu
b09713f8d9
Update receive-from-github.js (#5896) 2022-05-24 17:38:58 -05:00
Zach Wasserman
ed96be6e17
Disable new merge freeze (#5628)
Keeping this off for now while we finish up the release with the existing tooling.
2022-05-06 10:34:50 -07:00
Mike McNeil
5fe7fea24d
Tool: sails run freeze-open-pull-requests (#5610)
* trivial (comments)

* Remove old unfreeze/freeze logic

* trivial (clarify comment)

* Trivial (fix weird character)

* Extrapolate DRI mappings into config.

* Explain why this exists

* Extrapolate logic

* Use extrapolated logic + add 5 second wait time to prevent accidents + clean up

* Use extrapolated logic and fix omission in helper

* Make freezing actually happen and document usage

* In script, don't freeze PRs as long as they're preapproved to be edited by SOMEBODY

* Lint fixes
2022-05-06 00:12:50 -05:00
Mike McNeil
adc7425501
Automation: Try simpler alternative to mergefreeze (#5592)
* Automation: Alternative to mergefreeze..?

* move constant to the top for easier editing

* Update receive-from-github.js

* enable freeze
2022-05-05 13:56:32 -05:00
Mike McNeil
334d0c70e5
Automation: Make github username lookup case-insensitive (#5588)
For users like `GuillaumeRoss` (not `guillaumeross`)
2022-05-05 10:53:58 -05:00
Mike McNeil
adb1f53d63
Automation: Guillaume is also DRI of /handbook/security-policies (#5587) 2022-05-05 10:15:35 -05:00
Mike McNeil
adc52d3bc0
Website: Disable freeze/refreeze logic + gut sailsrc (#5547)
Website: Disable freeze/refreeze logic + gut sailsrc
2022-05-03 17:59:10 -05:00
Mike McNeil
137016caee
Website: Temporarily disable re-freeze logic to troubleshoot website caching issues on 2022-05-03. (#5545) 2022-05-03 17:45:25 -05:00
Roberto Dip
25beeacdce
add roperzh to receive-from-github.js (#5466) 2022-04-29 18:35:57 -03:00
Juan Fernandez
94c6dfb8fc
Updated contributor list (#5198) 2022-04-19 08:56:15 -04:00
Mike McNeil
7bc16c9b36
GitHub webhook: Only unfreeze/refreeze if actually frozen. (#5182)
Complements https://github.com/fleetdm/fleet/pull/5181

Related to https://github.com/fleetdm/fleet/issues/5179
2022-04-15 19:30:59 -05:00
Mike McNeil
69f8f7da8f
GitHub webhook: Auto-unfreeze ("for now" solution) (#5181)
Resolves https://github.com/fleetdm/fleet/issues/5179
2022-04-15 19:20:13 -05:00
Mike McNeil
0482d1da62
Github bot: Temporarily disable label change notifications (#5001)
* Github bot: Temporarily disable label change notifications


Michael Thomas🕐 Today at 01:36
Are these alerts necessary in #g-digital-experience, and if not, how do we turn them off? They're creating a lot of noise in the channel 😵

1 reply

mikermcneil  3 minutes ago
I'm envisioning Digital Experience is responsible for keeping github labels tidy, so having visibility into changes would be useful.  If you currently don't have bandwidth to do it, this is an easy thing to let slip, since it isn't the highest priority.  (Labels have already gotten a bit messy- to the point I don't use them at all anymore, for example.  I don't think they're actually necessary anymore, other than for doing estimations)
I'll PR a change that disables it for now.

* fix extra ampersand
2022-04-08 17:10:38 -05:00
Nathanael Holliday
fc68e41514
Add hollidayn to list of GitHub maintainers (#4915) 2022-04-01 14:45:12 -05:00
Mike McNeil
4531a0aa7a
GitHub webhook: fixes #4827 (#4828)
followup fix for #4827  (this is what I get for rushing)
2022-03-26 00:09:30 -05:00
Mike McNeil
11f752d8b9
GitHub webhook: Fixes #4825 (#4827)
fixes unfinished logic from https://github.com/fleetdm/fleet/pull/4825
2022-03-25 23:26:49 -05:00
Mike McNeil
f93af6fd19
GitHub webhook: Add support for '*' DRI rule (#4825)
* GitHub webhook: Add support for '*' DRI rule

This allows any fleetie to edit the handbook landing page (e.g. in the event pages need to get moved around)

* invert how DRI rules for website are expressed

* lint fix + add support for array syntax

* Update receive-from-github.js

* Update receive-from-github.js

* Update receive-from-github.js

* Update receive-from-github.js

* Update receive-from-github.js
2022-03-25 22:55:32 -05:00
Zachary Winnerman
0f5e43bc7b
Add name to receive-from-github.js (#4578) 2022-03-17 16:29:21 -07:00
timmy-k
45c1eb159b
Added timmy-k to List of Maintainers (#4550) 2022-03-10 12:50:47 -06:00
CharlotteChance
2159ce6f4c
Add Charlotte Chance to list of Github maintainers (#4534) 2022-03-09 10:30:43 -06:00
Mike McNeil
fc8dae7f38
New handbook pages are approved by @mikermcneil (#4524) 2022-03-08 15:57:18 -06:00
Desmi-Dizney
228ff9587b
Added Desmi Dizney to list of GitHub maintainers. (#4354)
* Added Desmi Dizney to list of GitHub maintainers.

* Remove trailing whitespace

Co-authored-by: eashaw <[email protected]>
2022-02-24 19:47:16 -06:00
eashaw
aa4f8393a9
revert specify owner change, chain .retry() onto http request (#4309) 2022-02-18 16:41:31 -06:00
eashaw
f5376de02d
Specify repo owner in receive-from-github.js (#4281)
* Hardcode repository owner

* Update receive-from-github.js

* lint fix
2022-02-18 10:34:56 -06:00
Mike McNeil
fd698c93d2
Revert "fix typo (#4278)" (#4280)
This reverts commit c7ea2f4d27.
2022-02-17 15:22:49 -06:00
eashaw
c7ea2f4d27
fix typo (#4278) 2022-02-17 15:14:26 -06:00
Mike McNeil
17bbd47fcb
support reopening PRs and add verbose logs (#4257) 2022-02-17 04:40:46 -06:00
fleet-release
9d2b41ba5b
set up autoapproval for handbook, docs, website, and github brandfront (#4255) 2022-02-17 04:27:01 -06:00
Mike McNeil
c1b9161e25
Skip branch protections for edits to certain paths (#4245)
* Stub out a way of automatically poking a hole in branch protections for DRIs

* cleaned things out in there

* prototype of autoapproval automation

prototype of autoapproval automation for DRIs editing their files

* should never happen
2022-02-17 03:43:59 -06:00
Michal Nicpon
447a4b58ed
Update receive-from-github.js (#4115) 2022-02-10 10:00:24 -07:00
Sharvil Shah
f1dbf4b452
Update maintainers to include me (#4126) 2022-02-10 01:55:24 +05:30