CI: For every release PR created, also push a changelog PR to main (#90698)

For every release PR created, also push a changelog PR to main
This commit is contained in:
Kevin Minehart
2024-07-19 16:54:59 -05:00
committed by GitHub
parent a0268a9ad2
commit 9232db2416
3 changed files with 29 additions and 9 deletions
+8 -1
View File
@@ -34,12 +34,19 @@ permissions:
pull-requests: write
jobs:
push-changelog-to-main:
name: Create PR to main to update the changelog
uses: ./.github/workflows/changelog.yml
with:
version: ${{ inputs.version }}
latest: ${{ inputs.latest }}
dry_run: ${{ inputs.dry_run }}
target: main
create-prs:
name: Create Release PR
runs-on: ubuntu-latest
if: github.repository == 'grafana/grafana'
steps:
- name: Generate bot token
id: generate_token
uses: tibdex/github-app-token@b62528385c34dbc9f38e5f4225ac829252d1ea92