Skip to content

Commit

Permalink
turn off build on PRs (#198)
Browse files Browse the repository at this point in the history
  • Loading branch information
natolambert authored Jul 19, 2024
1 parent 585edb9 commit 6f2fc01
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/push-image-olmo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ on:
- 'Dockerfile.olmo'
# Note, add .olmo dockerfile + requirements if adding auto build to those
branches: [main]
pull_request: # note, comment this out for running on every push
# Also run on PRs that update the files in the image's directory (other than README).
branches: [main]
paths:
- 'open_instruct/**'
- '!open_instruct/README.md'
- 'requirements-olmo.txt'
- 'Dockerfile.olmo'
# pull_request: # note, comment this out for running on every push
# # Also run on PRs that update the files in the image's directory (other than README).
# branches: [main]
# paths:
# - 'open_instruct/**'
# - '!open_instruct/README.md'
# - 'requirements-olmo.txt'
# - 'Dockerfile.olmo'
workflow_dispatch: # This allows us to manually trigger a build through the GitHub UI.

env:
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/push-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ on:
- 'Dockerfile'
# Note, add .olmo dockerfile + requirements if adding auto build to those
branches: [main]
pull_request: # note, comment this out for running on every push
# Also run on PRs that update the files in the image's directory (other than README).
branches: [main]
paths:
- 'open_instruct/**'
- '!open_instruct/README.md'
- 'requirements.txt'
- 'Dockerfile'
# pull_request: # note, comment this out for running on every push
# # Also run on PRs that update the files in the image's directory (other than README).
# branches: [main]
# paths:
# - 'open_instruct/**'
# - '!open_instruct/README.md'
# - 'requirements.txt'
# - 'Dockerfile'
workflow_dispatch: # This allows us to manually trigger a build through the GitHub UI.

env:
Expand Down

0 comments on commit 6f2fc01

Please sign in to comment.