Skip to content

Commit f038f9f

Browse files
authored
Merge pull request #168 from paper2/release/0.9.1
Release v0.9.1: Fix step conclusion values
2 parents b5c52fc + c7b27ea commit f038f9f

6 files changed

Lines changed: 19 additions & 7 deletions

File tree

badges/coverage.svg

Lines changed: 1 addition & 1 deletion
Loading

dist/index.js

Lines changed: 7 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "typescript-action",
33
"description": "GitHub Actions TypeScript template",
4-
"version": "v0.9.0",
4+
"version": "v0.9.1",
55
"author": "",
66
"private": true,
77
"homepage": "https://github.com/actions/typescript-action",

src/github/types.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,13 @@ export type WorkflowStepResponse = NonNullable<
1111
WorkflowJobResponse['steps']
1212
>[number]
1313

14-
const STEP_CONCLUSION_VALUES = ['success', 'failure', 'timed_out'] as const
14+
// refer steps.<step_id>.conclusion https://docs.github.com/en/actions/reference/workflows-and-actions/contexts#steps-context
15+
const STEP_CONCLUSION_VALUES = [
16+
'success',
17+
'failure',
18+
'cancelled',
19+
'skipped'
20+
] as const
1521
export type StepConclusion = (typeof STEP_CONCLUSION_VALUES)[number]
1622

1723
export const isStepConclusion = (value: unknown): value is StepConclusion => {

0 commit comments

Comments
 (0)