From 70e651b87000a73c3c7a4468572c72c6be62f5d6 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Sun, 30 Jul 2023 02:08:39 +0100 Subject: [PATCH] updated lock_branch.yaml --- .github/workflows/lock_branch.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lock_branch.yaml b/.github/workflows/lock_branch.yaml index f135707..9b5a381 100644 --- a/.github/workflows/lock_branch.yaml +++ b/.github/workflows/lock_branch.yaml @@ -50,7 +50,8 @@ env: # XXX: Requires PAT loaded to Secrets for permission GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} # XXX: API requires these fields but this is bad - could wipe out existing values - PAYLOAD: '{"required_status_checks": null, "enforce_admins": false, "required_pull_request_reviews": null, "restrictions": null, "lock_branch": true}' + PAYLOAD: '{"lock_branch": true}' + #PAYLOAD: '{"required_status_checks": null, "enforce_admins": false, "required_pull_request_reviews": null, "restrictions": null, "lock_branch": true}' jobs: lock_branch: