Skip to content

DWPF-746 first_name migration #234

DWPF-746 first_name migration

DWPF-746 first_name migration #234

name: "Dependabot Requirements"
on:
pull_request:
branches:
- main
jobs:
generate:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install poetry
run: |
pip install --upgrade pip
pip install poetry
- name: Generate requirements
run: |
poetry export --without-hashes --output requirements.txt
- name: Commit requirements.txt
continue-on-error: true
run: |
git config --global user.name 'GitHub Actions'
git config --global user.email 'your-username@users.noreply.github.com'
git commit -am "Automated update of requirements.txt"
git push
- run: echo "Just making a successful exit code"