From a05ebddf2a3c26d44fd87090732a34f6d07b9302 Mon Sep 17 00:00:00 2001 From: Timo Wilken Date: Wed, 3 Mar 2021 18:05:12 +0000 Subject: [PATCH] Fix PR target for clang-format action The person sending the PR might not be the same as the owner of the fork from which the PR was sent. --- .github/workflows/code-formatting.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/code-formatting.yml b/.github/workflows/code-formatting.yml index f71b0b18eed2e..c679997179edb 100644 --- a/.github/workflows/code-formatting.yml +++ b/.github/workflows/code-formatting.yml @@ -84,7 +84,7 @@ jobs: uses: alisw/pull-request@master with: source_branch: 'alibuild:alibot-cleanup-${{ github.event.pull_request.number }}' - destination_branch: '${{ github.event.pull_request.user.login }}:${{ github.event.pull_request.head.ref }}' + destination_branch: '${{ github.event.pull_request.head.label }}' github_token: ${{ secrets.ALIBUILD_GITHUB_TOKEN }} pr_title: "Please consider the following formatting changes to #${{ github.event.pull_request.number }}" pr_body: |