More WIP dependabot changelog CI

Fixes a typo in #14021, and allows the workflow to trigger on `reopen`
for easier debugging.
This commit is contained in:
David Robertson 2022-10-03 16:10:57 +01:00
parent 6c85796769
commit ddcb52e455
No known key found for this signature in database
GPG Key ID: 903ECE108A39DEDD

View File

@ -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: