1
mirror of https://github.com/streamlink/streamlink synced 2024-11-01 01:19:33 +01:00

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

View File

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