Skip to content

Commit

Permalink
Merge pull request #11 from RockefellerArchiveCenter/development
Browse files Browse the repository at this point in the history
Tweak worfklows
  • Loading branch information
p-galligan authored Oct 24, 2024
2 parents 770b8e7 + 26e8f4c commit cdf14c5
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 7 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/enforcer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: 'Check Branch'

on:
pull_request:
branches:
- base

jobs:
check_branch:
runs-on: ubuntu-latest
steps:
- name: Check branch
if: github.head_ref != 'development'
run: |
echo "ERROR: You can only merge to base from the development branch."
exit 1
8 changes: 1 addition & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest

environment:
name: ${{ vars.DEV_ENVIRONMENT }}
name: development

steps:
- name: Checkout Repository
Expand All @@ -21,12 +21,6 @@ jobs:
with:
python-version: '3.11'

- name: Cache pip
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip

- name: Install dependencies
run: pip install tox

Expand Down

0 comments on commit cdf14c5

Please sign in to comment.