mirror of
https://github.com/actions/github-script.git
synced 2026-02-07 19:47:26 +00:00
Changed names
This commit is contained in:
parent
1bc237c625
commit
24fa723078
2 changed files with 7 additions and 7 deletions
6
dist/index.js
vendored
6
dist/index.js
vendored
|
|
@ -13694,15 +13694,15 @@ class se_Helper {
|
|||
});
|
||||
return result;
|
||||
}
|
||||
async completeCheck(name, check_run_id, conclusion) {
|
||||
async completeCheck(name, id, conclusionString) {
|
||||
const result = await this.github.rest.checks.create({
|
||||
owner: this.currentBuild.repo.owner,
|
||||
repo: this.currentBuild.repo.repo,
|
||||
name: name,
|
||||
check_run_id: check_run_id,
|
||||
check_run_id: id,
|
||||
head_sha: this.currentBuild.sha,
|
||||
status: 'completed',
|
||||
conclusion: conclusion
|
||||
conclusion: conclusionString
|
||||
});
|
||||
return result;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -118,17 +118,17 @@ export class Helper {
|
|||
|
||||
public async completeCheck(
|
||||
name: string,
|
||||
check_run_id: string,
|
||||
conclusion: string
|
||||
id: string,
|
||||
conclusionString: string
|
||||
) {
|
||||
const result = await this.github.rest.checks.create({
|
||||
owner: this.currentBuild.repo.owner,
|
||||
repo: this.currentBuild.repo.repo,
|
||||
name: name,
|
||||
check_run_id: check_run_id,
|
||||
check_run_id: id,
|
||||
head_sha: this.currentBuild.sha,
|
||||
status: 'completed',
|
||||
conclusion: conclusion
|
||||
conclusion: conclusionString
|
||||
})
|
||||
return result
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue