Skip to content

Commit

Permalink
Merge branch 'neurobagel:main' into switch-to-lifespan-events
Browse files Browse the repository at this point in the history
  • Loading branch information
samadpls authored Mar 27, 2024
2 parents 2e39f25 + c5c6222 commit d08bbd0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/handle_external_pr.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Label pull requests from forks

on:
pull_request:
pull_request_target:
types: [opened]

jobs:
Expand All @@ -12,13 +12,9 @@ jobs:
# write access to the repo.
if: github.event.pull_request.head.repo.full_name != github.repository
runs-on: ubuntu-latest
env:
GH_TOKEN: ${{ secrets.NB_PROJECT_PAT }}

steps:
- name: Add PR to project
run: |
gh pr edit ${{ github.event.pull_request.url }} --add-project Neurobagel
- name: Label pull request with "_community"
run: gh pr edit ${{ github.event.pull_request.number }} --add-label "_community"
run: gh pr edit ${{ github.event.pull_request.number }} -R ${{ github.repository }} --add-label "_community"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ci:

repos:
- repo: https://github.com/psf/black
rev: 24.2.0
rev: 24.3.0
hooks:
- id: black
args:
Expand Down
4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2022 Neurobagel Project, Oriagmi Lab, McGill University.
Copyright (c) 2022 - Neurobagel Project, Origami Lab, McGill University.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
SOFTWARE.

0 comments on commit d08bbd0

Please sign in to comment.