Skip to content

Commit 90beb5c

Browse files
authored
Allow to run in forks on workflow dispatch (#8)
1 parent ee033e5 commit 90beb5c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/buildReleaseAndPublishWindows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ jobs:
2424
# Elevates permissions for `GITHUB_TOKEN`'s content scope (to allow this action to make a release)
2525
permissions:
2626
contents: write
27-
# Don't run this in everyone's forks.
28-
if: github.repository == 'llvm/torch-mlir-release'
27+
# Don't run this in everyone's forks on schedule but allow to run via dispatch.
28+
if: ${{ github.repository_owner == 'llvm' || github.event_name != 'schedule' }}
2929
strategy:
3030
matrix:
3131
package: [torch-mlir]

0 commit comments

Comments
 (0)