Skip to content

Commit

Permalink
try solution
Browse files Browse the repository at this point in the history
  • Loading branch information
ulya-tkch authored Sep 13, 2024
1 parent 7141f56 commit 20eaf56
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-test-tlm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
if: github.event.comment.body == '/test-tlm' # Only run if the comment is "/test-tlm"
steps:
- name: Log PR Number
run: echo "PR Number is ${{ github.event.issue.number }}"
run: echo "PR Number is ${{ github.event.issue.number }}. PR ref is ${{ github.event.issue.pull_request.head.ref }}."
- name: Find Comment
id: fc
uses: peter-evans/find-comment@v3
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ jobs:
uses: actions/checkout@v4
with:
ref: ${{ github.event.issue.pull_request.head.ref }}
- name: Check out latest commit
uses: actions/checkout@v4
with:
ref: ${{ github.event.issue.pull_request.head.ref }}
- name: Log PR Ref
run: echo "PR ref is ${{ github.event.issue.pull_request.head.ref }}"
- name: Checkout latest commit of pull request
uses: actions/checkout@v3
with:
ref: refs/pull/${{ github.event.pull_request.number }}/head

0 comments on commit 20eaf56

Please sign in to comment.