From 2e41bcc94788a87e26077aae5f3ecb123050ad2c Mon Sep 17 00:00:00 2001 From: Yethal Date: Tue, 14 Jun 2022 17:58:10 +0200 Subject: [PATCH] Update branch-protections.nu (#251) # was missing from shebang --- github/branch-protections/branch-protections.nu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/github/branch-protections/branch-protections.nu b/github/branch-protections/branch-protections.nu index 34bde4d..0ff7418 100644 --- a/github/branch-protections/branch-protections.nu +++ b/github/branch-protections/branch-protections.nu @@ -1,4 +1,4 @@ -!/usr/bin/env nu +#!/usr/bin/env nu let protections = { required_status_checks: { strict: true @@ -39,4 +39,4 @@ gh api $"orgs/($env.OWNER)/repos" $protections |to json |gh api -X PUT $"repos/($env.OWNER)/($repo.name)/branches/($repo.default_branch)/protection" --input - -} \ No newline at end of file +}