Skip to content

Bump django from 3.2.20 to 3.2.23 #17

Bump django from 3.2.20 to 3.2.23

Bump django from 3.2.20 to 3.2.23 #17

on:
pull_request:
permissions:
contents: write
jobs:
regenerate_requirements_txt:
name: Regenerating the requirements.txt file
runs-on: ubuntu-latest
#if: ${{ github.actor == 'dependabot[bot]' }}
if: ${{ github.event.head_commit.message != Regenerating requirements.txt file }}

Check failure on line 12 in .github/workflows/dependabot-generate-requirements-txt.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/dependabot-generate-requirements-txt.yml

Invalid workflow file

The workflow is not valid. .github/workflows/dependabot-generate-requirements-txt.yml (Line: 12, Col: 9): Unrecognized named-value: 'Regenerating'. Located at position 37 within expression: github.event.head_commit.message != Regenerating requirements.txt file
steps:
- name: Install Poetry
uses: snok/install-poetry@v1
- name: Checkout the repository - but just the relevant files
uses: actions/checkout@v4
with:
sparse-checkout: |
requirements.txt
pyproject.toml
poetry.lock
- name: Generate new requirements.txt file
run: poetry export --without-hashes -f requirements.txt -o requirements.txt
- name: Committing the changes back to the branch
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Regenerating requirements.txt file