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
+2 -7
View File
@@ -58,18 +58,13 @@ jobs:
echo dry run: ${{ needs.setup.outputs.dry_run }}
create_github_release:
# a github release requires a git tag
# The github-release action retrieves the changelog using the /repos/grafana/grafana/contents/CHANGELOG.md API
# endpoint.
needs: setup
uses: ./.github/workflows/github-release.yml
with:
version: ${{ needs.setup.outputs.version }}
dry_run: ${{ needs.setup.outputs.dry_run == 'true' }}
publish_docs:
needs: setup
runs-on: ubuntu-latest
steps:
- run: |
echo publish docs for ${{ needs.setup.outputs.version }}
echo dry run: ${{ needs.setup.outputs.dry_run }}
post_on_slack:
needs: setup
runs-on: ubuntu-latest