From 2508db627e6ee5ad637df8b8f6bf46b2178a7b00 Mon Sep 17 00:00:00 2001 From: Rakshith B <79500257+Rakshithb1@users.noreply.github.com> Date: Fri, 12 Jan 2024 14:15:00 +0530 Subject: [PATCH] Update add-checks.yml Signed-off-by: Rakshith B <79500257+Rakshithb1@users.noreply.github.com> --- .github/workflows/add-checks.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/add-checks.yml b/.github/workflows/add-checks.yml index c3ed0bcbd17..259949d5e37 100644 --- a/.github/workflows/add-checks.yml +++ b/.github/workflows/add-checks.yml @@ -1,4 +1,4 @@ -name: Add Branch Protection +name: Add Branch Protection on: push: @@ -19,7 +19,7 @@ jobs: run: | curl -L \ -H "Accept: application/vnd.github+json" \ - -H "Authorization: Bearer $GITHUB_TOKEN" \ + -H "Authorization: Bearer ${{ secrets.TOKEN }}" \ -H "X-GitHub-Api-Version: 2022-11-28" \ https://api.github.com/repos/Rakshithb1/commons/branches/develop/protection/required_status_checks env: