Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: GitHub workflow script injection #86

Merged
merged 1 commit into from
Nov 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/hdmf_compatibility_schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Check HDMF Dev Compatibility

on: [pull_request, workflow_dispatch]

env:
HEAD_REF: ${{ github.head_ref }}

jobs:
check_compatibility:
runs-on: ubuntu-latest
Expand All @@ -23,6 +26,6 @@ jobs:
python -m pip install -r requirements-dev.txt -r requirements.txt
python -m pip install -e .
cd src/hdmf/common/hdmf-common-schema
git checkout ${{ github.head_ref }} # checkout branch
git checkout $HEAD_REF # checkout branch
cd ../../../..
pytest tests/unit/common/
Loading