Skip to content

Commit

Permalink
πŸ”„ synced file(s) with neurobagel/workflows (#200)
Browse files Browse the repository at this point in the history
* πŸ”„ synced local '.github/workflows/' with remote 'template_workflows/project_automation/'

* Added dead link to `md_link_check_config.json`

* Fixed typo

---------

Co-authored-by: surchs <null>
Co-authored-by: rmanaem <[email protected]>
  • Loading branch information
surchs and rmanaem authored May 20, 2024
1 parent fb535d7 commit f69941a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .github/workflows/handle_external_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,13 @@ jobs:
run: gh pr edit ${{ github.event.pull_request.number }} -R ${{ github.repository }} --add-label "_community"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

handle_precommit_pr:
if: contains(github.event.pull_request.title, '[pre-commit.ci]')
runs-on: ubuntu-latest

steps:
- name: Label pull request with "_bot"
run: gh pr edit ${{ github.event.pull_request.number }} -R ${{ github.repository }} --add-label "_bot"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3 changes: 2 additions & 1 deletion md_link_check_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
{"pattern": "https://www.cognitiveatlas.org/task/id/"},
{"pattern": "^../"},
{"pattern": "localhost*"},
{"pattern": "https://api.neurobagel.org/*"}
{"pattern": "https://api.neurobagel.org/*"},
{"pattern": "http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#"}
],
"timeout": "60s"
}

0 comments on commit f69941a

Please sign in to comment.