chore(mp-stats-legacy-viewer): update chart to 0.0.27 (#277) #299
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Release Charts | |
| on: | |
| push: | |
| branches: | |
| - main | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: {} | |
| jobs: | |
| release: | |
| name: Release Charts | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write # to publish chart releases | |
| steps: | |
| - name: Harden Runner | |
| uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4 | |
| with: | |
| egress-policy: audit | |
| - name: Generate Bot Token | |
| id: generate_token | |
| uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 | |
| with: | |
| app-id: ${{ secrets.RELEASE_BOT_APP_ID }} | |
| private-key: ${{ secrets.RELEASE_BOT_PRIVATE_KEY }} | |
| - name: Checkout | |
| uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 | |
| with: | |
| fetch-depth: 0 | |
| persist-credentials: true | |
| token: ${{ steps.generate_token.outputs.token }} | |
| - name: Configure Git | |
| uses: TimSchoenle/actions/actions/common/setup-app-git-identity@0621f2582bc1cf04ff8359848ea3bca65fd06fcf # tag=actions-common-setup-app-git-identity-v1.1.1 | |
| with: | |
| app-slug: ${{ steps.generate_token.outputs.app-slug }} | |
| token: ${{ steps.generate_token.outputs.token }} | |
| - name: Import GPG key | |
| uses: crazy-max/ghaction-import-gpg@2dc316deee8e90f13e1a351ab510b4d5bc0c82cd # v7.0.0 | |
| with: | |
| # We currently can't use a passphrase since this means we can't export the key to the legacy format | |
| gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} | |
| - name: Export GPG key to legacy format | |
| run: gpg --export-secret-keys > ~/.gnupg/pubring.gpg | |
| - name: Setup Helm Environment | |
| uses: ./.github/actions/setup-helm | |
| - name: Run chart-releaser | |
| uses: helm/chart-releaser-action@cae68fefc6b5f367a0275617c9f83181ba54714f # v1.7.0 | |
| with: | |
| config: ./.github/configs/cr.yaml | |
| env: | |
| CR_TOKEN: ${{ steps.generate_token.outputs.token }} |