PR request for updating yt-dlp
This commit is contained in:
parent
83745c1f98
commit
0728aae312
1 changed files with 6 additions and 6 deletions
12
.github/workflows/update-yt-dlp.yml
vendored
12
.github/workflows/update-yt-dlp.yml
vendored
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue