Skip to content

fix(deps): update fontsource monorepo (#1202) #29

fix(deps): update fontsource monorepo (#1202)

fix(deps): update fontsource monorepo (#1202) #29

Workflow file for this run

name: Update Changelog & Release
on:
push:
branches:
- main
- '[0-9]+.[0-9]+.x'
tags:
- 'v?[0-9]+.[0-9]+.[0-9]+-alpha.[0-9]+'
- 'v?[0-9]+.[0-9]+.[0-9]+-beta.[0-9]+'
- 'v?[0-9]+.[0-9]+.[0-9]+-rc.[0-9]+'
workflow_dispatch:
jobs:
release-please:
permissions:
contents: write # for googleapis/release-please-action to create release commit
pull-requests: write # for googleapis/release-please-action to create release PR
runs-on: ubuntu-latest
outputs:
releases_created: ${{ steps.release-please.outputs.releases_created }}
tag_name: ${{ steps.release-please.outputs.tag_name }}
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: Release Please
id: release-please
uses: googleapis/release-please-action@7987652d64b4581673a76e33ad5e98e3dd56832f # v4.1.3
with:
token: ${{ secrets.GLASSKUBE_BOT_SECRET }}
goreleaser:
permissions:
contents: write
runs-on: ubuntu-latest
needs:
- release-please
if: ${{ needs.release-please.outputs.releases_created == 'true' || startsWith(github.ref, 'refs/tags/') }}
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
with:
fetch-depth: 0
- name: Login to GitHub Container Registry
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3
with:
registry: ghcr.io
username: glasskube-bot
password: ${{ secrets.GLASSKUBE_BOT_SECRET }}
- name: Setup qemu
uses: docker/setup-qemu-action@v3
with:
platforms: amd64,arm64
- name: Set up Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5
with:
go-version: '1.23.x'
- name: Set up node
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version: '20.9'
cache: npm
- name: Install dependencies
run: npm ci
- name: Set up kubectl
uses: azure/setup-kubectl@3e0aec4d80787158d308d7b364cb1b702e7feb7f # v4
with:
version: 'v1.29.1'
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6
with:
version: latest
args: release
env:
GITHUB_TOKEN: ${{ secrets.GLASSKUBE_BOT_SECRET }}