Skip to content

Instantly share code, notes, and snippets.

View ivan-degtiarenko's full-sized avatar
🏠
Working from home

Ivan Degtiarenko ivan-degtiarenko

🏠
Working from home
View GitHub Profile
@ivan-degtiarenko
ivan-degtiarenko / disable-merge-options-github-branches.js
Last active May 21, 2024 13:00
TamperMonkey script to disable merge options on Github branches
// ==UserScript==
// @name Disable merge options on Github branches
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Avoid accidentally using the wrong merge option for specific branches. THIS SCRIPT NEEDS TO BE TWEAKED FOR YOUR PERSONAL NEEDS(more precisely "@match" column and "disabledBranchesByMethod").
// @author Ivan Degtiarenko
// @match https://github.com/<YOUR_ORGANIZATION>/<YOUR_REPOSITORY>/pull/*
// @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant none
// @run-at document-start
@ivan-degtiarenko
ivan-degtiarenko / disable-merge-options-github-branches-stackrox.js
Last active November 7, 2023 12:05
Stackrox version: TamperMonkey script to disable merge options on Github branches
// ==UserScript==
// @name Disable merge options on Github branches
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Avoid accidentally using the wrong merge option for specific branches. This script needs to be tweaked for your personal needs(more precisely "@match" column and "disabledBranchesByMethod").
// @author Ivan Degtiarenko
// @match https://github.com/stackrox/*/pull/*
// @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant none
// @run-at document-start