Skip to content

Commit

Permalink
ci-artifacts: run the pipeline if owner is git-for-windows
Browse files Browse the repository at this point in the history
In a previous commit, we incorrectly added logic to only run this job if the repo is not a fork. However, git-sdk-arm64 is a fork of git-sdk-64, so this doesn't hold!

Let's switch to checking the repository owner instead, which should be good enough.

Signed-off-by: Dennis Ameling <[email protected]>
  • Loading branch information
dennisameling committed Sep 15, 2024
1 parent 87c2433 commit 4e4019e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ env:

jobs:
minimal-sdk-artifact:
if: github.event.repository.fork == false
if: github.repository_owner == 'git-for-windows'
runs-on: [Windows, ARM64]
steps:
- name: clone git-sdk-arm64
Expand Down

0 comments on commit 4e4019e

Please sign in to comment.