From 24f2d435505c984ce20106c397031bfd2818e428 Mon Sep 17 00:00:00 2001 From: Valentin Brandl Date: Sat, 6 May 2023 01:06:32 +0200 Subject: [PATCH 1/2] Add `dependabot` label to dependabot PRs --- .github/dependabot.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index fd97ccb..4faa484 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -10,3 +10,4 @@ updates: - vbrandl labels: - dependencies + - dependabot From ce9db6b4a7fcba8ca7da0e266d4926df7f183296 Mon Sep 17 00:00:00 2001 From: Valentin Brandl Date: Sat, 6 May 2023 01:06:41 +0200 Subject: [PATCH 2/2] Autogenerate changelog entry for dependabot PRs --- .github/workflows/dependabot-changelog.yml | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/dependabot-changelog.yml diff --git a/.github/workflows/dependabot-changelog.yml b/.github/workflows/dependabot-changelog.yml new file mode 100644 index 0000000..a156af1 --- /dev/null +++ b/.github/workflows/dependabot-changelog.yml @@ -0,0 +1,26 @@ +name: 'Dependabot Changelog' +on: + pull_request: + types: + - opened + - synchronize + - reopened + - ready_for_review + - labeled + - unlabeled + +jobs: + changelog: + runs-on: ubuntu-latest + permissions: + contents: write + steps: + - uses: actions/checkout@v3 + with: + token: ${{ secrets.GITHUB_TOKEN }} + - uses: dangoslen/dependabot-changelog-helper@v3 + with: + activationLabel: 'dependabot' + - uses: stefanzweifel/git-auto-commit-action@v4 + with: + commit_message: "Update Changelog"