We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 765fccf commit cd604a5Copy full SHA for cd604a5
1 file changed
.github/workflows/publish-fern-devnotes.yml
@@ -101,8 +101,8 @@ jobs:
101
workflow="$1"
102
shift
103
104
- last_run_id=$(gh run list --workflow "$workflow" --status success "$@" --limit 1 --json databaseId -q '.[0].databaseId // empty' 2>/dev/null || true)
105
- if [ -n "$last_run_id" ] && gh run download "$last_run_id" --name notebooks --dir website/docs/notebooks; then
+ last_run_id=$(gh run list --repo "$GITHUB_REPOSITORY" --workflow "$workflow" --status success "$@" --limit 1 --json databaseId -q '.[0].databaseId // empty' 2>/dev/null || true)
+ if [ -n "$last_run_id" ] && gh run download "$last_run_id" --repo "$GITHUB_REPOSITORY" --name notebooks --dir website/docs/notebooks; then
106
echo "::notice::Downloaded notebooks from $workflow run $last_run_id"
107
exit 0
108
fi
0 commit comments