Skip to content

Commit 9edcc01

Browse files
committed
allow workflow_dispatch
1 parent 313f5db commit 9edcc01

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/nightly-pypi-build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ permissions:
2929

3030
jobs:
3131
set-version:
32-
if: github.repository == 'apache/iceberg-python' # Only run for apache repo
32+
if: github.repository == 'apache/iceberg-python' || github.event_name == 'workflow_dispatch'
3333
runs-on: ubuntu-latest
3434
outputs:
3535
VERSION: ${{ steps.set-version.outputs.VERSION }}
@@ -66,6 +66,7 @@ jobs:
6666
VERSION: ${{ needs.set-version.outputs.VERSION }}
6767
testpypi-publish:
6868
name: Publish to TestPypi
69+
if: github.repository == 'apache/iceberg-python'
6970
needs:
7071
- nightly-build
7172
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)