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`.
This commit is contained in:
Matt Sturgeon 2025-01-25 18:33:37 +00:00
parent 4751cb55f7
commit 91e2e6fa03
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299

View file

@ -17,5 +17,7 @@ jobs:
if: github.event_name == 'schedule' if: github.event_name == 'schedule'
env: env:
GH_TOKEN: ${{ github.token }} GH_TOKEN: ${{ github.token }}
repo: ${{ github.repository }}
run: | run: |
gh workflow run update.yml --ref nixos-24.11 gh --repo "$repo" workflow run \
update.yml --ref nixos-24.11