Skip to content

Commit

Permalink
Update dependabot-requirements.yaml (#452)
Browse files Browse the repository at this point in the history
another go at having dependabot PRs auto-build requirements
  • Loading branch information
marcelkornblum authored Sep 18, 2023
1 parent 2fad5a3 commit 6a1e07f
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/dependabot-requirements.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,24 @@ jobs:
contents: write

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install poetry
run: |
pip install --upgrade pip
pip install poetry
- run: git checkout HEAD
- 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 '[email protected]'
git commit -am "Automated update of requirements.txt"
git config user.name 'GitHub Actions'
git config user.email [email protected]
git add .
git commit -m "Automated update of requirements.txt"
git push
- run: echo "Just making a successful exit code"
- run: echo "Making a successful exit code so we don't block the merge"

0 comments on commit 6a1e07f

Please sign in to comment.