summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Robertson <davidr@element.io>2022-10-03 14:34:50 +0100
committerGitHub <noreply@github.com>2022-10-03 14:34:50 +0100
commitcc8a3582e05ae593a7e73dd832cfd702040c28a5 (patch)
treefc19437b07d2032f120caaf40754577efccab0bb
parentAdd query parameter `ts` to allow appservices set the `origin_server_ts` for ... (diff)
downloadsynapse-cc8a3582e05ae593a7e73dd832cfd702040c28a5.tar.xz
Try again to automate dependabot changelogs (#14017)
* Try again to automate dependabot changelogs

* Changelog
-rw-r--r--.github/workflows/dependabot_changelog.yml6
-rw-r--r--changelog.d/14017.misc1
2 files changed, 7 insertions, 0 deletions
diff --git a/.github/workflows/dependabot_changelog.yml b/.github/workflows/dependabot_changelog.yml
index e28bd56b34..0349011478 100644
--- a/.github/workflows/dependabot_changelog.yml
+++ b/.github/workflows/dependabot_changelog.yml
@@ -4,6 +4,12 @@ on:
     types:
       - opened
 
+permissions:
+  # Needed to be able to push the commit. See 
+  #     https://docs.github.com/en/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions#enable-auto-merge-on-a-pull-request
+  # for a similar example
+  contents: write
+
 jobs:
   add-changelog:
     runs-on: 'ubuntu-latest'
diff --git a/changelog.d/14017.misc b/changelog.d/14017.misc
new file mode 100644
index 0000000000..7d793b56e0
--- /dev/null
+++ b/changelog.d/14017.misc
@@ -0,0 +1 @@
+Prototype a workflow to automatically add changelogs to dependabot PRs.