Home
josh-ops
Cancel

GitHub: Scripts to Mass Create and Delete Teams

Overview If you’ve ever had to create several teams in GitHub, you know how painful it can be clicking around manually in the GitHub interface, especially if you have to create child teams. These ...

Configuring Dependabot for Reusable Workflows in GitHub

Overview We already can use Dependabot Version Updates for keeping marketplace actions (in addition to custom internal/private actions) up to date (see my post) for more details). However, as of M...

Finding deprecated set-output and save-state commands in GitHub Actions

Overview You might have been noticing some of these warnings in your GitHub Actions workflows: Warning: The set-output command is deprecated and will be disabled soon. Please upgrade to using ...

Tips for Handling Dependabot, CodeQL, and Secret Scanning Alerts

Overview I recently had the opportunity to work with a large organization to help them manage their security alerts. Often, enabling security tooling is easy, it’s what comes next (how do we handl...

Programmatically Download Latest Release from GitHub Repo

Overview I recently needed to download the latest release from a GitHub repo but didn’t want to hardcode the version number or use separate API calls to get the latest release. I found a few one-l...

GitHub Packages: Migrate NuGet Packages to GitHub Packages

Overview To complete my NuGet Package migration series, I wanted to demonstrate how one could migrate NuGet packages to GitHub Package. The other system we are migrating from (whether it be Azure ...

GitHub Packages: Migrate NuGet Packages Between GitHub Instances

Overview I recently had a customer ask me how they could migrate their NuGet packages from one GitHub instance to another (e.g.: from GitHub Enterprise Server to GitHub Enterprise Cloud). I wasn’t...

Using the GitHub Checks API to Link Workflow Statuses in a PR

Overview I was talking to a colleague @colindembovsky the other day about how to report back to the PR the status of a GitHub Action workflow that was triggered programmatically via the workflow_d...

GitHub: Script to Mass Delete Repos

Overview If you’ve ever had to delete several repositories in GitHub, you know it can be a pain as you have to copy/paste the name of each repo in the verification prompt. This script aims to simp...

Migrating Repos to GitHub

Overview There are several options for migrating repos to GitHub, depending on what Source Control Management (SCM) tool you are coming from, and what you want to migrate. Just the Git repo with a...