forge
Explore
Log in

Don't you dare go Hollow

Gh run list/view'a -R $GITHUB_REPOSITORY ekle (checkout'siz is)

Browse files at this commit

d92dcc0b58dc3c35a6fe23f2f79913bc9096c7beAhmet Kaan GümüşParent: 68633fd
  • ci
    • gh run list/view'a -R $GITHUB_REPOSITORY ekle (checkout'siz is)
Show full message
ci(deploy): gh run list/view'a -R $GITHUB_REPOSITORY ekle (checkout'siz is)
.github/workflows/main.ymlmodified+2 -2
@@ -150,8 +150,8 @@ jobs:
150 run: |150 run: |
151 set -euo pipefail151 set -euo pipefail
152 run_id=""152 run_id=""
153- for rid in $(gh run list --workflow main.yml --branch main --event push --limit 15 --json databaseId --jq '.[].databaseId'); do153+ for rid in $(gh run list -R "$GITHUB_REPOSITORY" --workflow main.yml --branch main --event push --limit 15 --json databaseId --jq '.[].databaseId'); do
154- if [ "$(gh run view "$rid" --json jobs --jq '.jobs[] | select(.name=="Build and test") | .conclusion')" = "success" ]; then154+ if [ "$(gh run view -R "$GITHUB_REPOSITORY" "$rid" --json jobs --jq '.jobs[] | select(.name=="Build and test") | .conclusion')" = "success" ]; then
155 run_id=$rid155 run_id=$rid
156 break156 break
157 fi157 fi