From d3eb8132f78f66a98d013f311f5509b816ca3590 Mon Sep 17 00:00:00 2001
From: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Date: Mon, 7 Oct 2024 11:47:30 +0100
Subject: [PATCH] =?UTF-8?q?[CI]=C2=A0Fix=20backport=20bot=20(#5905)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Seems to also need actions permission otherwise it error when trying to
backport a change to the yml files liker
[here](https://github.com/paritytech/polkadot-sdk/actions/runs/11143649431/job/30969199054).
---
 .github/workflows/command-backport.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.github/workflows/command-backport.yml b/.github/workflows/command-backport.yml
index 72da40f1983..6470ff28881 100644
--- a/.github/workflows/command-backport.yml
+++ b/.github/workflows/command-backport.yml
@@ -9,6 +9,8 @@ on:
 permissions:
   contents: write # so it can comment
   pull-requests: write # so it can create pull requests
+  issues: write
+  actions: write # It may have to backport changes to the CI as well.
 
 jobs:
   backport:
-- 
GitLab