From 26f783db0a24656bc8732b9cac5422ff5b201a68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ezequiel=20P=C3=A1ssaro?= Date: Tue, 4 Apr 2023 12:14:18 -0300 Subject: [PATCH 1/3] Test update reference data workflow From 478f6e155f7a7818f33987ec0fd9b1ff141f18e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ezequiel=20P=C3=A1ssaro?= Date: Tue, 4 Apr 2023 12:31:24 -0300 Subject: [PATCH 2/3] Add working directory to remove files step --- .github/workflows/update-refdata.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/update-refdata.yml b/.github/workflows/update-refdata.yml index 68a0f1a1835..f8ba9ea2794 100644 --- a/.github/workflows/update-refdata.yml +++ b/.github/workflows/update-refdata.yml @@ -82,6 +82,7 @@ jobs: - name: Remove unwanted files run: rm .lfs-assets-id + working-directory: tardis-refdata - name: Create pull request uses: peter-evans/create-pull-request@v4 From 8a2c98e881d583f2a278ccd515a476acfbffb6c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ezequiel=20P=C3=A1ssaro?= Date: Tue, 4 Apr 2023 12:39:50 -0300 Subject: [PATCH 3/3] Fix post comment (failure) step --- .github/workflows/update-refdata.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-refdata.yml b/.github/workflows/update-refdata.yml index f8ba9ea2794..98cfb05e095 100644 --- a/.github/workflows/update-refdata.yml +++ b/.github/workflows/update-refdata.yml @@ -135,7 +135,7 @@ jobs: uses: peter-evans/create-or-update-comment@v2 with: token: ${{ secrets.BOT_TOKEN }} - issue-number: ${{ github.event.number }} + issue-number: ${{ github.event.client_payload.pull_request.number }} comment-id: ${{ steps.fc.outputs.comment-id }} edit-mode: replace body: |