Skip to content

Commit

Permalink
put back the main branch in if
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewkho committed Sep 26, 2024
1 parent 6b5044c commit a4edf65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/nightly_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ permissions:
jobs:
build_test_upload:
if: |
github.repository == 'pytorch/data'
github.repository == 'pytorch/data' && github.ref_name == 'main'
uses: ./.github/workflows/_build_test_upload.yml
with:
branch: "main"
Expand Down

0 comments on commit a4edf65

Please sign in to comment.