Bump webtest from 3.0.2 to 3.0.4 in /dependabot #8
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
name: Create requirements.txt for dependabot | |
on: | |
push: | |
jobs: | |
build: | |
name: requirements.txt | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: Build | |
run: | | |
cd docker | |
python create-constraints.py constraints.cfg ../dependabot/requirements.txt | |
# TODO: fix commit permissions https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md#authentication-with-fine-grained-pat-optional | |
# - name: Commit and push changes | |
# run: | | |
# git config --global user.email "[email protected]" | |
# git config --global user.name "RedTurtle CI BOT" | |
# git add dependabot/requirements.txt | |
# git commit -m "Auto-generate file at $(date)" || exit 0 | |
# git push https://${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git HEAD:${{ github.ref_name }} | |
# env: | |
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |