Skip to content

Commit

Permalink
Update more actions and fix pull request target
Browse files Browse the repository at this point in the history
  • Loading branch information
nuwang committed Apr 13, 2024
1 parent 62e6980 commit dfcc6c1
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
push:
branches:
- main
pull_request:
pull_request_target:
branches:
- main
workflow_dispatch: {}
Expand All @@ -21,17 +21,17 @@ jobs:
python-version: [ '3.10' ]
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}

- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Cache pip dir
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: pip-cache-${{ matrix.python-version }}-lint
Expand All @@ -57,6 +57,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}

- name: Setup Python
uses: actions/setup-python@v5
Expand Down

0 comments on commit dfcc6c1

Please sign in to comment.