Skip to content

Commit e1a2f40

Browse files
committed
int: Update python version for deployment
1 parent c69d829 commit e1a2f40

File tree

3 files changed

+37
-5
lines changed

3 files changed

+37
-5
lines changed

.github/dependabot.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: pip
4+
directory: "/"
5+
schedule:
6+
interval: daily
7+
open-pull-requests-limit: 10
8+
reviewers:
9+
- smoia
10+
assignees:
11+
- smoia

.github/workflows/bot.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: bot
2+
concurrency:
3+
group: ${{ github.workflow }}-${{ github.event.number }}-${{ github.event.ref }}
4+
cancel-in-progress: true
5+
on: # yamllint disable-line rule:truthy
6+
pull_request
7+
8+
permissions:
9+
contents: write
10+
pull-requests: write
11+
12+
jobs:
13+
auto-merge:
14+
runs-on: ubuntu-latest
15+
if: (github.event.pull_request.user.login == 'dependabot[bot]' || github.event.pull_request.user.login == 'pre-commit-ci[bot]') && github.repository == 'physiopy/physiopy.github.io'
16+
steps:
17+
- name: Enable auto-merge for bot PRs
18+
run: gh pr merge --auto --squash "$PR_URL"
19+
env:
20+
PR_URL: ${{ github.event.pull_request.html_url }}
21+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/deploy.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,20 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13-
- uses: actions/checkout@v2
13+
- uses: actions/checkout@v5
1414
with:
1515
path: mkdocs
16-
- name: Set up Python 3.8
17-
uses: actions/setup-python@v1
16+
- name: Set up Python
17+
uses: actions/setup-python@v6
1818
with:
19-
python-version: 3.8
19+
python-version: '3.12'
2020
- name: Setup Git & Install dependencies
2121
run: |
2222
git config --global user.email "[email protected]"
2323
git config --global user.name "eurunuela"
2424
python -m pip install --upgrade pip
2525
pip install -r mkdocs/requirements.txt
26-
- uses: actions/checkout@v2
26+
- uses: actions/checkout@v5
2727
with:
2828
ref: master
2929
path: www

0 commit comments

Comments
 (0)