Skip to content

Commit 2a15c45

Browse files
committed
fix: ref
1 parent 1d399ec commit 2a15c45

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/agentkit-build.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
uses: actions/checkout@v4
2020
with:
2121
fetch-depth: 0
22+
ref: ${{ format('refs/pull/{0}/merge', github.event.inputs.pr_number) }}
2223

2324
- name: Resolve BASE/HEAD from PR number
2425
if: github.event.inputs.pr_number != ''
@@ -76,4 +77,4 @@ jobs:
7677
HEAD_SHA: ${{ env.HEAD_SHA }}
7778
AGENTKIT_COMMAND: build
7879
run: |
79-
python -m workflow_utils.check_usecases
80+
python -m workflow_utils.check_usecases

.github/workflows/agentkit-check.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
uses: actions/checkout@v4
2020
with:
2121
fetch-depth: 0
22+
ref: ${{ format('refs/pull/{0}/merge', github.event.inputs.pr_number) }}
2223

2324
- name: Set up Python
2425
uses: actions/setup-python@v5
@@ -75,4 +76,4 @@ jobs:
7576
BASE_SHA: ${{ env.BASE_SHA }}
7677
HEAD_SHA: ${{ env.HEAD_SHA }}
7778
run: |
78-
python -m workflow_utils.check_usecases
79+
python -m workflow_utils.check_usecases

0 commit comments

Comments
 (0)