Skip to content

Commit 93dac5e

Browse files
committed
chore(ci): use explicit context on commit status
Use explicit context on commit status to identify where was a commit marked as fail or success. Before this change, it will appear as "default," not it should read "test" or "analyze." Relates-to: UIC-3673
1 parent d546061 commit 93dac5e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/analyze.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ jobs:
6767
owner: context.repo.owner,
6868
repo: context.repo.repo,
6969
sha: process.env.sha,
70-
state: 'failure'
70+
state: 'failure',
71+
context: 'analyze'
7172
})
7273
core.setFailed(`Status: ${process.env.status}`);

.github/workflows/test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,8 @@ jobs:
117117
owner: context.repo.owner,
118118
repo: context.repo.repo,
119119
sha: process.env.sha,
120-
state: 'failure'
120+
state: 'failure',
121+
context: 'test'
121122
})
122123
core.setFailed(`Status: ${process.env.status}`);
123124
process.exit(1);

0 commit comments

Comments
 (0)