From 1d113245ae555f5d666904f014fc3e9585b7aad7 Mon Sep 17 00:00:00 2001 From: Danila Baklazhenko Date: Sat, 22 Feb 2025 16:00:46 +0200 Subject: [PATCH] Add format --- .github/workflows/extended.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/extended.yml b/.github/workflows/extended.yml index 7e4ae69008e19..5df0713cb0067 100644 --- a/.github/workflows/extended.yml +++ b/.github/workflows/extended.yml @@ -71,7 +71,7 @@ jobs: - uses: actions/checkout@v4 with: # Check out the pull request branch if triggered by a comment - ref: ${{ github.event_name == 'issue_comment' && refs/pull/${{ github.event.issue.number }}/head || github.ref }} + ref: ${{ github.event_name == 'issue_comment' && format('refs/pull/{0}/head', github.event.issue.number) || github.ref }} submodules: true fetch-depth: 1 - name: Install Rust @@ -100,7 +100,7 @@ jobs: - uses: actions/checkout@v4 with: # Check out the pull request branch if triggered by a comment - ref: ${{ github.event_name == 'issue_comment' && refs/pull/${{ github.event.issue.number }}/head || github.ref }} + ref: ${{ github.event_name == 'issue_comment' && format('refs/pull/{0}/head', github.event.issue.number) || github.ref }} submodules: true fetch-depth: 1 - name: Free Disk Space (Ubuntu) @@ -138,7 +138,7 @@ jobs: - uses: actions/checkout@v4 with: # Check out the pull request branch if triggered by a comment - ref: ${{ github.event_name == 'issue_comment' && refs/pull/${{ github.event.issue.number }}/head || github.ref }} + ref: ${{ github.event_name == 'issue_comment' && format('refs/pull/{0}/head', github.event.issue.number) || github.ref }} submodules: true fetch-depth: 1 - name: Setup Rust toolchain @@ -163,7 +163,7 @@ jobs: - uses: actions/checkout@v4 with: # Check out the pull request branch if triggered by a comment - ref: ${{ github.event_name == 'issue_comment' && refs/pull/${{ github.event.issue.number }}/head || github.ref }} + ref: ${{ github.event_name == 'issue_comment' && format('refs/pull/{0}/head', github.event.issue.number) || github.ref }} submodules: true fetch-depth: 1 - name: Setup Rust toolchain