Skip to content

Commit 37d768f

Browse files
Merge branch 'main' into jupyterlite-gh-actions
2 parents f1544c4 + ea9a35b commit 37d768f

111 files changed

Lines changed: 4027 additions & 1136 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.circleci/config.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ jobs:
6262
if [[ $(cat merge.txt) != "" ]]; then
6363
echo "Merging $(cat merge.txt)";
6464
git pull --ff-only upstream "refs/pull/$(cat merge.txt)/merge";
65+
elif [[ "$CIRCLE_PROJECT_USERNAME" != "mne-tools" ]]; then
66+
echo "On CIRCLE_PROJECT_USERNAME=\"$CIRCLE_PROJECT_USERNAME\" repo rather than mne-tools, merging upstream/main."
67+
git merge upstream/main --no-edit || exit 1
6568
else
6669
if [[ "$CIRCLE_BRANCH" == "main" ]]; then
6770
KIND=dev
@@ -219,7 +222,7 @@ jobs:
219222
keys:
220223
- data-cache-ds004388
221224
- run:
222-
name: Get data
225+
name: Get data and triage examples to run
223226
# This limit could be increased, but this is helpful for finding slow ones
224227
# (even ~2GB datasets should be downloadable in this time from good
225228
# providers)

.github/CONTRIBUTING.md

Lines changed: 0 additions & 13 deletions
This file was deleted.

.github/workflows/autofix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
name: Autoupdate changelog entry and headers
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v6
15+
- uses: actions/checkout@v6.0.2
1616
with:
1717
persist-credentials: false
1818
- uses: actions/setup-python@v6

.github/workflows/autopush.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
contents: write
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v6
14+
- uses: actions/checkout@v6.0.2
1515
with:
1616
persist-credentials: true
1717
token: ${{ secrets.MNE_BOT_TOKEN }}

.github/workflows/check_changelog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
name: Check towncrier entry in doc/changes/dev/
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v6
16+
- uses: actions/checkout@v6.0.2
1717
with:
1818
persist-credentials: false
1919
- uses: scientific-python/action-towncrier-changelog@v2

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ jobs:
3838

3939
steps:
4040
- name: Checkout repository
41-
uses: actions/checkout@v6
41+
uses: actions/checkout@v6.0.2
4242
with:
4343
persist-credentials: false
4444

4545
# Initializes the CodeQL tools for scanning.
4646
- name: Initialize CodeQL
47-
uses: github/codeql-action/init@v4.35.5
47+
uses: github/codeql-action/init@v4.36.0
4848
with:
4949
languages: ${{ matrix.language }}
5050
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -58,7 +58,7 @@ jobs:
5858
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5959
# If this step fails, then you should remove it and run the build manually (see below)
6060
- name: Autobuild
61-
uses: github/codeql-action/autobuild@v4.35.5
61+
uses: github/codeql-action/autobuild@v4.36.0
6262

6363
# ℹ️ Command-line programs to run using the OS shell.
6464
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -71,4 +71,4 @@ jobs:
7171
# ./location_of_script_within_repo/buildscript.sh
7272

7373
- name: Perform CodeQL Analysis
74-
uses: github/codeql-action/analyze@v4.35.5
74+
uses: github/codeql-action/analyze@v4.36.0

.github/workflows/credit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
GH_TOKEN: ${{ secrets.MNE_BOT_TOKEN }}
1818
GITHUB_TOKEN: ${{ secrets.MNE_BOT_TOKEN }}
1919
steps:
20-
- uses: actions/checkout@v6
20+
- uses: actions/checkout@v6.0.2
2121
with:
2222
persist-credentials: true
2323
- uses: actions/setup-python@v6
@@ -39,7 +39,7 @@ jobs:
3939
git config --global user.name "mne[bot]"
4040
BRANCH=credit/$(date '+%Y%m%d')
4141
git checkout -b $BRANCH
42-
git commit -am "mne[bot]: Update code credit"
42+
git commit -am "mne[bot]: Update code credit [skip azp] [skip actions]"
4343
git push origin $BRANCH
4444
PR_NUM=$(gh pr create --base main --head $BRANCH --title "MAINT: Update code credit" --body "Created by credit [GitHub action](https://github.com/mne-tools/mne-python/actions/runs/${{ github.run_id }}). <br> <br> *Adjustments may need to be made to \`doc/sphinxext/credit_tools.py\` or \`.mailmap\` etc. to get CircleCI to pass.*" --label "no-changelog-entry-needed")
4545
echo "Opened https://github.com/mne-tools/mne-python/pull/${PR_NUM}" >> $GITHUB_STEP_SUMMARY

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
package:
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@v6
19+
- uses: actions/checkout@v6.0.2
2020
with:
2121
persist-credentials: false
2222
- uses: actions/setup-python@v6

.github/workflows/spec_zero.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
run:
2626
shell: bash -el {0}
2727
steps:
28-
- uses: actions/checkout@v6
28+
- uses: actions/checkout@v6.0.2
2929
with:
3030
persist-credentials: true
3131
- name: Triage SSH

.github/workflows/tests.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
runs-on: ubuntu-latest
2626
timeout-minutes: 3
2727
steps:
28-
- uses: actions/checkout@v6
28+
- uses: actions/checkout@v6.0.2
2929
with:
3030
persist-credentials: false
3131
- uses: actions/setup-python@v6
@@ -89,7 +89,7 @@ jobs:
8989
python: '3.10'
9090
kind: old
9191
steps:
92-
- uses: actions/checkout@v6
92+
- uses: actions/checkout@v6.0.2
9393
with:
9494
fetch-depth: 0
9595
persist-credentials: false
@@ -150,6 +150,11 @@ jobs:
150150
- run: python ./tools/github_actions_check_old_env.py
151151
if: matrix.kind == 'old'
152152
# Minimal commands on Linux (macOS stalls)
153+
- uses: actions/cache@v5
154+
with:
155+
key: minimal-commands-0
156+
path: ~/minimal_cmds
157+
if: startswith(matrix.os, 'ubuntu') && matrix.kind != 'minimal' && matrix.kind != 'old'
153158
- run: bash ./tools/get_minimal_commands.sh
154159
if: startswith(matrix.os, 'ubuntu') && matrix.kind != 'minimal' && matrix.kind != 'old'
155160
- run: bash ./tools/github_actions_infos.sh

0 commit comments

Comments
 (0)