Skip to content

🐛 Missed EQSummary use #278

🐛 Missed EQSummary use

🐛 Missed EQSummary use #278

name: Dependabot helper
on: pull_request
permissions:
pull-requests: write
issues: write
repository-projects: write
contents: write
jobs:
dependabot:
runs-on: ubuntu-latest
if: github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == 'Fusion-Power-Plant-Framework/bluemira'
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v2
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Checkout
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
ref: ${{ github.head_ref }}
- name: Run uv
shell: bash
run: |
python -m pip install --upgrade pip
pip install uv
uv pip compile pyproject.toml --python-version=3.10 --extra pinned -o requirements/uv/base.txt
uv pip compile pyproject.toml --python-version=3.10 --extra pinned -o requirements/uv/develop.txt --extra dev
uv pip compile pyproject.toml --python-version=3.10 --extra pinned -o requirements/uv/examples.txt --extra examples
uv pip compile pyproject.toml --python-version=3.10 --extra pinned -o requirements/uv/all.txt --extra dev --extra polyscope --extra radiation --extra examples
git config user.email "49699333+dependabot[bot]@users.noreply.github.com"
git config user.name "dependabot[bot]"
git add requirements
if [[ -n $(git status --porcelain) ]] ; then
git commit -m "Updated dependencies in requirements files"
git push
fi