-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dependabot-requirements.yaml (#452)
another go at having dependabot PRs auto-build requirements
- Loading branch information
1 parent
2fad5a3
commit 6a1e07f
Showing
1 changed file
with
7 additions
and
5 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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" |