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
1 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@ on:
pull_request: pull_request:
types: types:
- opened - opened
- reopened
permissions: permissions:
# Needed to be able to push the commit. See # Needed to be able to push the commit. See
@ -11,7 +12,7 @@ permissions:
contents: write contents: write
# The pull_requests "synchronize" event doesn't seem to fire with just `contents: write`, so # 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? # CI doesn't run with the new changelog. Maybe `pull_requests: write` will fix this?
pull_requests: write pull-requests: write
jobs: jobs:
add-changelog: add-changelog: