Skip to content

Update common dependency helm charts #483

Update common dependency helm charts

Update common dependency helm charts #483

name: Release Drafter
on:
push:
# branches to consider in the event; optional, defaults to all
branches:
- main
workflow_dispatch: {} # Allow manual triggering
jobs:
update_release_draft:
runs-on: ubuntu-latest
steps:
-
name: Get App[bot] Token
uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ vars.APP_ID }}
private-key: ${{ secrets.PRIVATE_KEY }}
-
name: Drafts your next Release notes
uses: release-drafter/release-drafter@v6
id: draft
env:
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
with:
commitish: main
-
name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
-
name: Copy release notes from Draft
run: |
tag_name=${{ steps.draft.outputs.tag_name }}
echo "${{ steps.draft.outputs.body }}" > docs/release_notes/${tag_name:1}.md
-
name: Upsert Pull Request
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f #v7.0.5
with:
token: ${{ steps.app-token.outputs.token }}
title: Add release notes for ${{ steps.draft.outputs.tag_name }}
commit-message: Add release notes for ${{ steps.draft.outputs.tag_name }}
committer: 🤖QC Owl App[bot] <165384878+qc-owl-app[bot]@users.noreply.github.com>
signoff: true
# assignees: qclaogui
# reviewers: qclaogui
body: |
🤖 Copy release notes from Draft
<details>
<summary> Full draft release notes for ${{ steps.draft.outputs.tag_name }} </summary>
<blockquote>
${{ steps.draft.outputs.body }}
</blockquote>
</details>
<br />
> Auto-generated by [.github/workflows/release-drafter.yml][0]
[0]: https://github.com/qclaogui/codelab-monitoring/blob/main/.github/workflows/release-drafter.yml
labels: kind/docs, skip-release-notes
branch: update-release-notes
draft: true