Upgrade: Bump mkdocs-material from 9.5.46 to 9.5.47 #306
Workflow file for this run
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 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 |