1
1
mirror of https://github.com/primer/css.git synced 2024-12-01 20:53:06 +03:00
This commit is contained in:
Jon Rohan 2021-03-26 15:31:15 -07:00
parent a478fd37b1
commit db3469675a
No known key found for this signature in database
GPG Key ID: B0BBE304A9A0AECB

View File

@ -52,19 +52,12 @@ jobs:
- uses: actions/github-script@v3
with:
script: |
const check_runs = await github.checks.listForRef({
owner: context.repo.owner,
repo: context.repo.repo,
ref: context.ref,
check_name: "Canary"
});
console.log(check_runs.data.check_runs[0].id)
github.checks.update({
owner: context.repo.owner,
repo: context.repo.repo,
check_run_id: check_runs.data.check_runs[0].id,
title: "HELO",
summary: "HI",
text: "EBB"
})
github.createCommitStatus({
owner: context.repo.owner,
repo: context.repo.repo,
sha: context.sha,
state: 'success',
context: 'Release / foo',
description: 'my description',
target_url: 'http://twitter.com/'
})