From 98a04e500d685b010f94aa9d2f8598808554e37e Mon Sep 17 00:00:00 2001 From: Edie Lemoine Date: Fri, 20 Sep 2024 15:36:14 +0200 Subject: [PATCH] ci: define repository in gh command --- .github/workflows/schedule-trigger.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/schedule-trigger.yml b/.github/workflows/schedule-trigger.yml index 37f4daf..8569dbd 100644 --- a/.github/workflows/schedule-trigger.yml +++ b/.github/workflows/schedule-trigger.yml @@ -52,10 +52,11 @@ jobs: env: IMAGE: ${{ matrix.image }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + REPOSITORY: ${{ github.repository }} shell: bash #language=bash run: | - gh workflow run "build-$IMAGE.yml" + gh workflow run --repo "$REPOSITORY" "build-$IMAGE.yml" echo "Job 'build-$IMAGE' dispatched."