Skip to content

Commit 793ca68

Browse files
authored
push to fork (#28)
1 parent 6289aef commit 793ca68

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/persubmit.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ jobs:
1616
token: ${{ secrets.GARDENER_PAT }}
1717
#ref: ${{ steps.pr_data.outputs.branch }}
1818
#repository: ${{ steps.pr_data.outputs.repo_name }}
19-
ref: ${{ github.event.pull_request.head.ref }}
20-
repository: ${{ github.event.pull_request.head.repo.full_name }}
19+
ref: ${{ github.event.client_payload.pull_request.head.ref }}
20+
repository: ${{ github.event.client_payload.pull_request.head.repo.full_name }}
2121
fetch-depth: 0
2222
- name: Set up Python ${{ matrix.python-version }}
2323
uses: actions/setup-python@v2
@@ -26,7 +26,7 @@ jobs:
2626
- name: Check and change code format
2727
run: |
2828
git checkout -b _tmp_format
29-
git checkout ${{ github.event.pull_request.head.ref }}
29+
git checkout ${{ github.event.client_payload.pull_request.head.ref }}
3030
git fetch https://github.com/taichi-dev/test_actions.git refs/heads/master
3131
git reset FETCH_HEAD
3232
python3 -m pip install yapf gitpython colorama isort
@@ -42,5 +42,5 @@ jobs:
4242
uses: ad-m/github-push-action@master
4343
with:
4444
GITHUB_TOKEN: ${{ secrets.GARDENER_PAT }}
45-
branch: ${{ github.event.pull_request.head.ref }}
46-
repository: ${{ github.event.pull_request.head.repo.full_name }}
45+
branch: ${{ github.event.client_payload.pull_request.head.ref }}
46+
repository: ${{ github.event.client_payload.pull_request.head.repo.full_name }}

0 commit comments

Comments
 (0)