Skip to content

Commit

Permalink
Merge pull request #48 from flatironinstitute/main
Browse files Browse the repository at this point in the history
update dev with main
  • Loading branch information
geoffwoollard authored Jul 13, 2024
2 parents e423526 + 995d722 commit 2f0b6a9
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions .github/workflows/main_merge_check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Check merging branch

on:
pull_request:

jobs:
check_branch:
runs-on: ubuntu-latest
steps:
- name: Check branch
if: github.base_ref == 'main' && github.head_ref != 'dev'
run: |
echo "ERROR: You can only merge to main from dev."
exit 1
1 change: 0 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ repos:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.3.4
Expand Down
1 change: 1 addition & 0 deletions src/cryo_challenge/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from cryo_challenge.__about__ import __version__

0 comments on commit 2f0b6a9

Please sign in to comment.