Skip to content

Commit

Permalink
bump actions/checkout, create-pull-request and use GITHUB_TOKEN
Browse files Browse the repository at this point in the history
… for creating the PR
  • Loading branch information
maxbelanger committed May 9, 2024
1 parent 41e4b00 commit b45a998
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- os: ubuntu-20.04
python-version: 2.7
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2.7.0
- if: ${{ matrix.python-version == '2.7' }}
name: Setup Python environment (2.7)
run: |
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
Docs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2.7.0
- name: Setup Python environment
uses: actions/[email protected]
with:
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:
- os: ubuntu-20.04
python-version: 2.7
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v2.7.0
- if: ${{ matrix.python-version == '2.7' }}
name: Setup Python environment (2.7)
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
Coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2.7.0
- name: Setup Python environment
uses: actions/[email protected]
with:
Expand All @@ -36,7 +36,7 @@ jobs:
IntegrationCoverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2.7.0
- name: Setup Python environment
uses: actions/[email protected]
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pypiupload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
python-version: [2.7, 3.x]

steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v2.7.0
- if: ${{ matrix.python-version == '2.7' }}
name: Setup Python environment (2.7)
run: |
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/spec_update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
Update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2.7.0
- name: Setup Python environment
uses: actions/[email protected]
with:
Expand Down Expand Up @@ -51,10 +51,9 @@ jobs:
pip install -r requirements.txt
python generate_base_client.py
- name: Create Pull Request
uses: peter-evans/[email protected].0
uses: peter-evans/[email protected].3
if: steps.git-diff-num.outputs.num-diff != 0
with:
token: ${{ secrets.SPEC_UPDATE_TOKEN }}
commit-message: |
${{ steps.git-diff.outputs.commit}}
branch: ${{ steps.git-branch.outputs.branch }}
Expand Down

0 comments on commit b45a998

Please sign in to comment.