From 91e2e6fa032ad4906c2e48c06d96474a08f3f94f Mon Sep 17 00:00:00 2001 From: Matt Sturgeon Date: Sat, 25 Jan 2025 18:33:37 +0000 Subject: [PATCH] ci/update-other: pass `--repo` to `gh` In this case, we don't checkout the repo. Therefore we need to tell `gh` what repo to use, since it can't guess based on `.git`. --- .github/workflows/update-other.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update-other.yml b/.github/workflows/update-other.yml index 4b3d1d96..baeef06b 100644 --- a/.github/workflows/update-other.yml +++ b/.github/workflows/update-other.yml @@ -17,5 +17,7 @@ jobs: if: github.event_name == 'schedule' env: GH_TOKEN: ${{ github.token }} + repo: ${{ github.repository }} run: | - gh workflow run update.yml --ref nixos-24.11 + gh --repo "$repo" workflow run \ + update.yml --ref nixos-24.11