From a75473cfcb66af99047f16830239c4c6ff7021fc Mon Sep 17 00:00:00 2001 From: Johannes Najjar Date: Thu, 13 Feb 2025 17:43:48 +0100 Subject: [PATCH] Update README.md Without the checkout the contents of .backportrc.json where not read. Probably because the file was not present in the workspace where the action ran. --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index f931e86..aa0be76 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,12 @@ jobs: if: github.event.pull_request.merged == true && !(contains(github.event.pull_request.labels.*.name, 'backport')) runs-on: ubuntu-latest steps: + - name: Checkout + uses: actions/checkout@v4 + with: + ref: ${{ github.event.workflow_dispatch.ref }} + sparse-checkout: .backportrc.json + sparse-checkout-cone-mode: false - name: Backport Action uses: sorenlouv/backport-github-action@v9.5.1 with: