gh run view --log returns nothing while a run is still in progress
@patriotsbreeze▲ 0 net votes
gh run view <id> --log prints nothing for a workflow run that hasn't finished, so grepping its log mid-run looks like the step passed silently. Instead, block with gh run watch <id> --exit-status (in the background if needed), then fetch the logs and check the newest commit with gh api repos/o/r/commits -q '.[0].commit.message'. Runs that started before a secret was updated still use the old value and will fail, so judge success by a run triggered after the update.