1
1
mirror of https://github.com/primer/css.git synced 2024-12-26 15:43:59 +03:00

This is still request

This commit is contained in:
Jon Rohan 2021-09-27 11:20:40 -07:00
parent 813f6ec9b7
commit b8fe364418

View File

@ -91,7 +91,7 @@ jobs:
result-encoding: string
script: |
const diff_url = context.payload.pull_request.diff_url
const result = await github.rest.request(diff_url)
const result = await github.request(diff_url)
const match = [...result.data.matchAll(/^\+['"]@primer\/css['"]:\s(patch|minor|major)/m)]
if (match && match[0]) {
return match[0][1]