Add support for job.check_run_id (#205)

This was recently added: https://github.com/orgs/community/discussions/8945#discussioncomment-14374985
This commit is contained in:
Robin Neatherway
2025-12-22 11:11:34 -06:00
committed by GitHub
parent 9bb4c76612
commit ed4c2ce44c
3 changed files with 19 additions and 1 deletions
@@ -417,6 +417,21 @@ jobs:
expect(result).toEqual([]);
});
it("job.check_run_id", async () => {
const input = `
on: push
jobs:
test:
runs-on: ubuntu-latest
steps:
- run: echo \${{ job.check_run_id }}
`;
const result = await validate(createDocument("wf.yaml", input));
expect(result).toEqual([]);
});
it("job.services.<service_id>", async () => {
const input = `
on: push