From f17b226034607fbec505aa0c8db003369df3513c Mon Sep 17 00:00:00 2001 From: Ibrahim Serdar Acikgoz Date: Mon, 13 Feb 2023 18:14:06 +0300 Subject: [PATCH] The GH token is not required for accesing PR metadata (#22309) --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0d5e2ef3f9..60b9fd225e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -24,7 +24,7 @@ jobs: parameters: target-branch: type: string - default: '$(curl -s -H "Authorization: token ${GITHUB_TOKEN}" $(echo https://api.github.com/repos/${CIRCLE_PULL_REQUEST:19} | sed "s/\/pull\//\/pulls\//") | jq ".base.ref" | tr -d "\042" )' + default: '$(curl -s $(echo https://api.github.com/repos/${CIRCLE_PULL_REQUEST:19} | sed "s/\/pull\//\/pulls\//") | jq ".base.ref" | tr -d "\042" )' working_directory: /mnt/ramdisk/mattermost-server docker: - image: cimg/go:1.18