Skip to content

Commit

Permalink
DOC: update actions in README.md usage example (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer authored Feb 2, 2024
1 parent 646d604 commit 1880731
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ on:
jobs:
pip-constraints:
name: Update pip constraints files
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
Expand All @@ -95,7 +95,7 @@ jobs:
- "3.8"
- "3.9"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Check if there are dependency changes
Expand All @@ -110,11 +110,11 @@ jobs:
push:
name: Push changes
if: github.event.pull_request.head.repo.full_name == github.repository
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs:
- pip-constraints
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
token: ${{ secrets.PAT }}
- uses: actions/download-artifact@v2
Expand Down Expand Up @@ -153,7 +153,7 @@ on:
jobs:
pip-constraints:
name: Update pip constraint files
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
Expand All @@ -162,24 +162,24 @@ jobs:
- "3.8"
- "3.9"
steps:
- uses: actions/checkout@v2
- uses: ComPWA/update-pip-constraints@main
- uses: actions/checkout@v4
- uses: ComPWA/update-pip-constraints@v1
with:
python-version: ${{ matrix.python-version }}

push:
name: Create PR
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs:
- pip-constraints
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
token: ${{ secrets.PAT }}
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
- run: rm -rf .constraints/
- run: mv artifact .constraints
- uses: peter-evans/create-pull-request@v3
- uses: peter-evans/create-pull-request@v6
with:
commit-message: "ci: update pip constraints files"
committer: GitHub <[email protected]>
Expand Down

0 comments on commit 1880731

Please sign in to comment.