From ddd0e2e3bb931f78a27e6aa056b9109d29a63582 Mon Sep 17 00:00:00 2001 From: Sebastian Urchs Date: Mon, 25 Mar 2024 12:46:36 -0400 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=94=84=20synced=20file(s)=20with=20ne?= =?UTF-8?q?urobagel/workflows=20(#291)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 🔄 synced local '.github/workflows/' with remote 'template_workflows/project_automation/' * 🔄 synced local 'LICENSE' with remote 'template_configs/LICENSE' --------- Co-authored-by: surchs --- .github/workflows/handle_external_pr.yml | 12 ++++-------- LICENSE | 4 ++-- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/.github/workflows/handle_external_pr.yml b/.github/workflows/handle_external_pr.yml index 13c059d..0b38841 100644 --- a/.github/workflows/handle_external_pr.yml +++ b/.github/workflows/handle_external_pr.yml @@ -1,7 +1,7 @@ name: Label pull requests from forks on: - pull_request: + pull_request_target: types: [opened] jobs: @@ -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 }} diff --git a/LICENSE b/LICENSE index c066749..aa94611 100644 --- a/LICENSE +++ b/LICENSE @@ -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 @@ -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. \ No newline at end of file From c5c6222f77995e1b723e5ac24f7041151556b458 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 25 Mar 2024 12:50:40 -0400 Subject: [PATCH 2/2] [pre-commit.ci] pre-commit autoupdate (#288) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/psf/black: 24.2.0 → 24.3.0](https://github.com/psf/black/compare/24.2.0...24.3.0) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 177c217..f68d237 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,7 +4,7 @@ ci: repos: - repo: https://github.com/psf/black - rev: 24.2.0 + rev: 24.3.0 hooks: - id: black args: