Skip to content
Snippets Groups Projects
Unverified Commit 7a441c4f authored by David Robertson's avatar David Robertson Committed by GitHub
Browse files

Protoype automatic changelogs for dependabot PRs (#13998)

parent 343038c3
No related branches found
No related tags found
No related merge requests found
name: Write changelog for dependabot PR
on:
pull_request:
types:
- opened
jobs:
add-changelog:
runs-on: 'ubuntu-latest'
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: Write, commit and push changelog
run: |
echo "${{ github.event.pull_request.title }}." > "changelog.d/${{ github.event.pull_request.number }}".docker
git add changelog.d
git config user.email "github-actions[bot]@users.noreply.github.com"
git config user.name "GitHub Actions"
git commit -m "Changelog"
git push
shell: bash
Prototype a workflow to automatically add changelogs to dependabot PRs.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment