From 98184d2b24b8025be397eee43d8a9676a6dba983 Mon Sep 17 00:00:00 2001 From: David Robertson Date: Mon, 3 Oct 2022 14:27:36 +0100 Subject: [PATCH 1/2] Try again to automate dependabot changelogs --- .github/workflows/dependabot_changelog.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/dependabot_changelog.yml b/.github/workflows/dependabot_changelog.yml index e28bd56b34d4..03490114786b 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' From 02639a7d81e4bf025f5d98768c9888bc7fdec7aa Mon Sep 17 00:00:00 2001 From: David Robertson Date: Mon, 3 Oct 2022 14:32:22 +0100 Subject: [PATCH 2/2] Changelog --- changelog.d/14017.misc | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/14017.misc diff --git a/changelog.d/14017.misc b/changelog.d/14017.misc new file mode 100644 index 000000000000..7d793b56e0ee --- /dev/null +++ b/changelog.d/14017.misc @@ -0,0 +1 @@ +Prototype a workflow to automatically add changelogs to dependabot PRs.