Skip to content

Commit

Permalink
Merge pull request #33 from flatironinstitute/main_merge_dev
Browse files Browse the repository at this point in the history
New Github Actions
  • Loading branch information
geoffwoollard authored Jul 12, 2024
2 parents ebcbfa2 + 86bb837 commit f9a40ee
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
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: 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 f9a40ee

Please sign in to comment.