<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>GitHub on Prateek Sharma</title>
		<link>https://prateeksharma.me/tags/github/</link>
		<description>Recent content in GitHub on Prateek Sharma</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
		
			<lastBuildDate>Sun, 25 Oct 2026 16:28:23 +0000</lastBuildDate>
		
			<atom:link href="https://prateeksharma.me/tags/github/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Repo Baseline</title>
				<link>https://prateeksharma.me/projects/repo-baseline/</link>
				<pubDate>Sun, 25 Oct 2026 00:00:00 +0000</pubDate>
				<guid>https://prateeksharma.me/projects/repo-baseline/</guid>
				<description>&lt;p&gt;Every new repo I create needs the same handful of settings: branch&#xA;protection, required reviews, no force pushes. Setting that up by hand in&#xA;GitHub&amp;rsquo;s UI every time is the kind of small, repetitive chore that&amp;rsquo;s easy to&#xA;skip, which is exactly when a repo ends up without it. &lt;a href=&#34;https://github.com/pratts/repo-baseline&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Repo Baseline&lt;/a&gt;&#xA;&#xA;is a single script that applies it consistently instead.&lt;/p&gt;&#xA;&lt;h2 id=&#34;what-it-sets&#34;&gt;What it sets&lt;/h2&gt;&#xA;&lt;p&gt;Running &lt;code&gt;scripts/apply-baseline.sh &amp;lt;owner/repo&amp;gt; [check name]...&lt;/code&gt; applies a&#xA;ruleset on the default branch: changes only land through a pull request with&#xA;at least one approving review, every commit must be signed, force pushes are&#xA;blocked, and any status checks you pass in must pass before a merge is&#xA;allowed. It also turns on &lt;code&gt;delete_branch_on_merge&lt;/code&gt;, so a PR&amp;rsquo;s branch is&#xA;cleaned up automatically once it merges. Re-running the script is safe — if a&#xA;repo already has the ruleset, it&amp;rsquo;s backed up locally and updated in place&#xA;rather than duplicated.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
