Skill Instructions
Use the following command to get the branch name
gh pr view --json headRefName -q .headRefName
Use the following command to get the workflow run id
gh run list -b <branch-name> -L 1 --json databaseId -q .[0].databaseId
To download the test results for the workflow run, use the following command
gh run download <workflow-run-id>--output <output-file-path> -p test-results-*
The test results file in trx format will be inside the downloaded zip file.
Source: jaredpar/complog — distributed by TomeVault.