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

0cf52a035b0159d7b8d3b2ef3f90722ec90b5285Ahmet Kaan GümüşParent: 3c4490c
  • 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
@@ -172,8 +172,8 @@ jobs:
172 run: |172 run: |
173 set -euo pipefail173 set -euo pipefail
174 run_id=""174 run_id=""
175- for rid in $(gh run list --workflow main.yml --branch main --event push --limit 15 --json databaseId --jq '.[].databaseId'); do175+ for rid in $(gh run list -R "$GITHUB_REPOSITORY" --workflow main.yml --branch main --event push --limit 15 --json databaseId --jq '.[].databaseId'); do
176- if [ "$(gh run view "$rid" --json jobs --jq '.jobs[] | select(.name=="Build and test") | .conclusion')" = "success" ]; then176+ if [ "$(gh run view -R "$GITHUB_REPOSITORY" "$rid" --json jobs --jq '.jobs[] | select(.name=="Build and test") | .conclusion')" = "success" ]; then
177 run_id=$rid177 run_id=$rid
178 break178 break
179 fi179 fi