mirror of
https://github.com/actions/github-script.git
synced 2026-02-08 03:57:27 +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;
|
return result;
|
||||||
}
|
}
|
||||||
async completeCheck(name, check_run_id, conclusion) {
|
async completeCheck(name, id, conclusionString) {
|
||||||
const result = await this.github.rest.checks.create({
|
const result = await this.github.rest.checks.create({
|
||||||
owner: this.currentBuild.repo.owner,
|
owner: this.currentBuild.repo.owner,
|
||||||
repo: this.currentBuild.repo.repo,
|
repo: this.currentBuild.repo.repo,
|
||||||
name: name,
|
name: name,
|
||||||
check_run_id: check_run_id,
|
check_run_id: id,
|
||||||
head_sha: this.currentBuild.sha,
|
head_sha: this.currentBuild.sha,
|
||||||
status: 'completed',
|
status: 'completed',
|
||||||
conclusion: conclusion
|
conclusion: conclusionString
|
||||||
});
|
});
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -118,17 +118,17 @@ export class Helper {
|
||||||
|
|
||||||
public async completeCheck(
|
public async completeCheck(
|
||||||
name: string,
|
name: string,
|
||||||
check_run_id: string,
|
id: string,
|
||||||
conclusion: string
|
conclusionString: string
|
||||||
) {
|
) {
|
||||||
const result = await this.github.rest.checks.create({
|
const result = await this.github.rest.checks.create({
|
||||||
owner: this.currentBuild.repo.owner,
|
owner: this.currentBuild.repo.owner,
|
||||||
repo: this.currentBuild.repo.repo,
|
repo: this.currentBuild.repo.repo,
|
||||||
name: name,
|
name: name,
|
||||||
check_run_id: check_run_id,
|
check_run_id: id,
|
||||||
head_sha: this.currentBuild.sha,
|
head_sha: this.currentBuild.sha,
|
||||||
status: 'completed',
|
status: 'completed',
|
||||||
conclusion: conclusion
|
conclusion: conclusionString
|
||||||
})
|
})
|
||||||
return result
|
return result
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue