From ddcb52e455a275109d0d6f757e58118883b28fd8 Mon Sep 17 00:00:00 2001
From: David Robertson <davidr@element.io>
Date: Mon, 3 Oct 2022 16:10:57 +0100
Subject: [PATCH] More WIP dependabot changelog CI

Fixes a typo in #14021, and allows the workflow to trigger on `reopen`
for easier debugging.
---
 .github/workflows/dependabot_changelog.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/dependabot_changelog.yml b/.github/workflows/dependabot_changelog.yml
index dcad8d4a24..0c05e674ee 100644
--- a/.github/workflows/dependabot_changelog.yml
+++ b/.github/workflows/dependabot_changelog.yml
@@ -3,6 +3,7 @@ on:
   pull_request:
     types:
       - opened
+      - reopened
 
 permissions:
   # Needed to be able to push the commit. See 
@@ -11,7 +12,7 @@ permissions:
   contents: write
   # The pull_requests "synchronize" event doesn't seem to fire with just `contents: write`, so
   # CI doesn't run with the new changelog. Maybe `pull_requests: write` will fix this?
-  pull_requests: write
+  pull-requests: write
 
 jobs:
   add-changelog:
-- 
GitLab