Skip to content

Upgrade: Bump mkdocs-material from 9.5.47 to 9.5.48 #309

Upgrade: Bump mkdocs-material from 9.5.47 to 9.5.48

Upgrade: Bump mkdocs-material from 9.5.47 to 9.5.48 #309

Workflow file for this run

name: Update Dependencies
on:
pull_request:
paths:
- 'requirements.txt'
- '.github/**'
types: [labeled]
jobs:
dependencies:
name: Update dependencies
if: >-
(github.event.label.name == 'ready' ||
github.event.label.name == 'dependencies') &&
! (contains(github.event.pull_request.labels.*.name, 'dependencies') &&
contains(github.event.pull_request.labels.*.name, 'ready'))
runs-on: self-hosted
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout Head
uses: actions/checkout@v4
with:
submodules: 'true'
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 1
- name: Update dependencies
run: |
~/test/bin/python -m pip install --upgrade pip
~/test/bin/python -m pip install -U -r requirements.txt
- name: Test documentation
run: |
make lazy-build PYTHON=~/test/bin/python3
- name: Commit dependencies
run: |
~/build/bin/python -m pip install --upgrade pip
~/build/bin/python -m pip install -U -r requirements.txt
- name: Merge PR
if: github.event.pull_request.merged == false
run: |
echo ${{ secrets.GITHUB_TOKEN }} | gh auth login --with-token
gh pr merge ${{ github.event.number }} -d -R ${{ github.repository }} --merge