Feature | GitHub Enterprise (Cloud) | GitHub Enterprise (Cloud) w/ GitHub Advanced Security | Public Repos |
---|---|---|---|
Security Overview for the Org (Beta) | X | n/a (because they wouldn't roll up to an org) | |
Dependency Graph | X | X |
- GitHub Staff
- https://josh-ops.com
- in/joshua-johanning
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo -n "NuGet feed name?" | |
read nugetfeed | |
echo -n "NuGet feed source?" | |
read nugetsource | |
echo -n "Enter PAT" | |
read pat | |
# adding to ~/.config/NuGet/NuGet.config | |
nuget sources add -Name $nugetfeed -Source $nugetsource -username "az" -password $pat | |
results=$(find . -name "*.nupkg") | |
resultsArray=($results) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################################################## | |
# Delete branch protection rules | |
############################################################## | |
[CmdletBinding()] | |
param ( | |
[parameter (Mandatory = $true)][string]$PersonalAccessToken, | |
[parameter (Mandatory = $true)][string]$GitHubOrg, | |
[parameter (Mandatory = $true)][string]$GitHubRepo, | |
[parameter (Mandatory = $true)][string]$PatternToDelete # If you want to delete all branch protection rules that start with "test", pass in "test*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# Resources: | |
https://stackoverflow.com/questions/60852825/azure-devops-yaml-pipeline-parameters-not-working-from-rest-api-trigger | |
https://stackoverflow.com/questions/34343084/start-a-build-and-passing-variables-through-azure-devops-rest-api | |
https://stackoverflow.com/questions/63654387/azure-rest-api-for-running-builds-or-pipelines | |
#> | |
param( | |
[Parameter(Mandatory=$true)]$pat = "", | |
$url = "https://dev.azure.com/jjohanning0798/", | |
$pipelineId = "77" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Version": "11.9", | |
"ChangeSetMappingFile": null, | |
"Source": { | |
"$type": "TfsTeamProjectConfig", | |
"Collection": "https://dev.azure.com/SOURCE_ORG", | |
"Project": "Demos", | |
"ReflectedWorkItemIDFieldName": "Custom.ReflectedWorkItemId", | |
"AllowCrossProjectLinking": false, | |
"AuthenticationMode": "Prompt", |
The VSTS Sync Migration tools allow you to bulk edit and migrate data between Team Projects on both Microsoft Team Foundation Server (TFS) and Visual Studio Team Services (VSTS). You can find out why this tooling exists and you can access the documentation to find out how. THis project is published as code on GitHub as well as a VSTS Sync Migration Tools on Chocolaty and VSTS Bulk Data Editor Engine on NuGet. This allows you to build your own tooling as well as just use it out of the box with a configuration file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The iteration CSV should look something like this (no header): | |
# 20.6\1\1 | |
# 20.6\1\2 | |
# 20.6\2\1 | |
# 20.6\2\2 | |
# 19.1 | |
# 19.1\1 | |
# 19.1\1\2 | |
# 19.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Version": "8.9", | |
"TelemetryEnableTrace": false, | |
"workaroundForQuerySOAPBugEnabled": false, | |
"Source": { | |
"Collection": "https://dev.azure.com/org", | |
"Project": "project", | |
"ReflectedWorkItemIDFieldName": "Custom.ReflectedWorkItemId", | |
"AllowCrossProjectLinking": false, | |
"PersonalAccessToken": "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This template is used to deploy the storage account resources | |
resource "azurecaf_name" "storage_account" { | |
name = "msi" | |
resource_type = "azurerm_storage_account" | |
prefixes = local.regional_name_prefixes | |
suffixes = local.azurecaf_name_suffixes | |
clean_input = true | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################################################## | |
# Delete all notification subscriptions for a specific org | |
############################################################## | |
# Description: You may have to run this multiple times - but it's better than: | |
# a) unwatching all repos or | |
# b) clicking thru yourself to unwatch | |
# | |
# See watched repos here: https://github.com/watching |
OlderNewer