[BOT] update dashboard (#148) #16
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: update dashboard | |
on: | |
push: | |
branches: | |
- master | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
update_dashboard: | |
runs-on: ubuntu-latest | |
if: github.repository == 'bids-apps/bids-apps.github.io' | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
- name: Install | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r tools/requirements.txt | |
- name: Update readme | |
run: python tools/create_dahsboard.py | |
- uses: peter-evans/create-pull-request@v5 | |
with: | |
commit-message: update dashboard | |
assignees: Remi-Gau | |
base: master | |
delete-branch: true | |
title: '[BOT] update dashboard' |