From b9a388bf9bf376156fdd6e08f31dd64eda47f8c2 Mon Sep 17 00:00:00 2001 From: skjnldsv Date: Wed, 15 Jan 2025 09:38:45 +0100 Subject: [PATCH] fix(command-compile): persist-credentials for compile bot to allow rebase and force push Signed-off-by: skjnldsv --- workflow-templates/command-compile.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/workflow-templates/command-compile.yml b/workflow-templates/command-compile.yml index 65b1fe15..bab29d29 100644 --- a/workflow-templates/command-compile.yml +++ b/workflow-templates/command-compile.yml @@ -102,7 +102,8 @@ jobs: - name: Checkout ${{ needs.init.outputs.head_ref }} uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: - persist-credentials: false + # Needed to allow force push later + persist-credentials: true token: ${{ secrets.COMMAND_BOT_PAT }} fetch-depth: 0 ref: ${{ needs.init.outputs.head_ref }}