Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependabot-requirements.yaml #452

Merged
merged 1 commit into from
Sep 18, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"