The GH token is not required for accesing PR metadata (#22309)

Этот коммит содержится в:
Ibrahim Serdar Acikgoz
2023-02-13 18:14:06 +03:00
коммит произвёл GitHub
родитель ce9d5d77bb
Коммит f17b226034

Просмотреть файл

@@ -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