ci.github: bump deps of useragents workflow

- bump Python to 3.11
- bump peter-evans/create-pull-request to v5
  and resolve set-output GH actions deprecation
This commit is contained in:
bastimeyer 2023-05-01 02:27:47 +02:00 committed by Forrest
parent 41b427ac71
commit 0e41130e28
1 changed files with 2 additions and 2 deletions

View File

@ -12,12 +12,12 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: "3.11"
- run: python -m pip install requests
- run: python ./script/update-user-agents.py
env:
WHATISMYBROWSER_API_KEY: ${{ secrets.WHATISMYBROWSER_API_KEY }}
- uses: peter-evans/create-pull-request@3f9dbd5a76a3cb3e1d94af1115652b322e3a198c
- uses: peter-evans/create-pull-request@9e5b2344021c369f621dcb89ffde8fd910dac08c
with:
token: ${{ secrets.STREAMLINKBOT_USERAGENTS_PR }}
add-paths: |