github: workflowRunURL

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax
2024-02-04 11:08:41 +01:00
parent 26949f5f39
commit 11cc7c697d
4 changed files with 14 additions and 9 deletions

View File

@@ -89,6 +89,12 @@ describe('apiURL', () => {
});
});
describe('workflowRunURL', () => {
it('returns 123', async () => {
expect(GitHub.workflowRunURL).toEqual('https://github.com/docker/actions-toolkit/actions/runs/123');
});
});
describe('actionsRuntimeToken', () => {
const originalEnv = process.env;
beforeEach(() => {