PR request for updating yt-dlp

This commit is contained in:
ArabCoders 2023-11-25 15:15:30 +03:00
parent 83745c1f98
commit 0728aae312

View file

@ -21,8 +21,6 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
token: ${{ secrets.GH_PAT_AUTO_UPDATE }}
- name: Set up Python
uses: actions/setup-python@v4
with:
@ -34,8 +32,10 @@ jobs:
VER=`pipenv run pip list -o | awk '$1 == "yt-dlp" {print $3}'`
if [ -n "$VER" ]; then
pipenv update yt-dlp
git config --global user.email "updater@ytptube"
git config --global user.name "AutoUpdater"
git commit -m 'upgraded yt-dlp' Pipfile.lock
git push
fi
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
delete-branch: true