[FIX] Pin Kaleido to 0.2.1 (#5089) #89
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
--- | |
# If the CITATION.CFF file is modified, | |
# this workflow will run to update the AUTHORS file | |
# and the and ``doc/changes/names.rst`` file. | |
### | |
name: Update authors | |
on: | |
push: | |
branches: | |
- main | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
update_authors: | |
if: github.repository == 'nilearn/nilearn' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout nilearn | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
allow-prereleases: false | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip ruamel.yaml | |
python -m pip install .[plotting] | |
- name: Update AUTHORS.rst and doc/changes/names.rst | |
run: python maint_tools/citation_cff_maint.py | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v7 | |
with: | |
commit-message: update AUTHORS.rst and doc/changes/names.rst | |
base: main | |
token: ${{ secrets.GITHUB_TOKEN }} | |
delete-branch: true | |
title: '[BOT] update AUTHORS.rst and doc/changes/names.rst' | |
body: done via this [GitHub Action](https://github.com/${{ github.repository_owner }}/nilearn/blob/main/.github/workflows/update_authors.yml) |